mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
don't try to append to packs when using the old op code
This commit is contained in:
parent
84ace7f4c7
commit
9b2cd11cd4
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ module.exports = UpdatesManager =
|
|||
if temporary and (not lastCompressedUpdate? or lastCompressedUpdate.pack?) # handle pack append as a special case
|
||||
UpdatesManager._updatePack project_id, doc_id, rawUpdates, temporary, lastCompressedUpdate, lastVersion, callback
|
||||
else #use the existing op code
|
||||
lastCompressedUpdate = null if lastCompressedUpdate?.pack? # can't handle packs with op code
|
||||
UpdatesManager._updateOp project_id, doc_id, rawUpdates, temporary, lastCompressedUpdate, lastVersion, callback
|
||||
|
||||
_updatePack: (project_id, doc_id, rawUpdates, temporary, lastCompressedUpdate, lastVersion, callback) ->
|
||||
|
|
Loading…
Reference in a new issue