mirror of https://github.com/laurent22/joplin.git
All: Fixed: Notify DecryptionWorker when item added due to conflict, to make sure it is decrypted as early as possible
parent
9474a05aaa
commit
a796ef5c66
|
@ -378,6 +378,8 @@ class Synchronizer {
|
|||
local = remoteContent;
|
||||
const syncTimeQueries = BaseItem.updateSyncTimeQueries(syncTargetId, local, time.unixMs());
|
||||
await ItemClass.save(local, { autoTimestamp: false, nextQueries: syncTimeQueries });
|
||||
|
||||
if (!!local.encryption_applied) this.dispatch({ type: 'SYNC_GOT_ENCRYPTED_ITEM' });
|
||||
} else {
|
||||
// Remote no longer exists (note deleted) so delete local one too
|
||||
await ItemClass.delete(local.id);
|
||||
|
|
Loading…
Reference in New Issue