|
|
@@ -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) ->
|