mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[feature] Do not assemble encrypted files
This commit is contained in:
@ -1381,7 +1381,7 @@ exports.install = function(server, callbackFunction) {
|
||||
needSaveChanges = forgotten.length > 0;
|
||||
logger.debug('closeDocument hasForgotten %s: docId = %s', needSaveChanges, docId);
|
||||
}
|
||||
if (needSaveChanges && needSendStatus) {
|
||||
if (needSaveChanges && !conn.encrypted) {
|
||||
// Send changes to save server
|
||||
yield* _createSaveTimer(docId, tmpUser.idOriginal);
|
||||
} else if (needSendStatus) {
|
||||
|
||||
Reference in New Issue
Block a user