We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec700d6 commit 69125d0Copy full SHA for 69125d0
lib/realtime/realtime.ts
@@ -664,9 +664,9 @@ function operationCallback(socket, operation) {
664
return logger.error('operation callback failed: ' + err)
665
})
666
}
667
- note.server.isDirty = true
668
note.tempUsers[userId] = Date.now()
669
+ note.server.isDirty = true
670
// save authorship - use timer here because it's an O(n) complexity algorithm
671
setImmediate(function () {
672
note.authorship = Note.updateAuthorshipByOperation(operation, userId, note.authorship)
0 commit comments