1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-05 22:57:29 +02:00

All: Schedule sync after enabling or disabling encryption

This commit is contained in:
Laurent Cozic
2018-01-08 21:25:38 +01:00
parent bba2c68c6f
commit 7b9dc66121
3 changed files with 9 additions and 1 deletions

View File

@@ -277,6 +277,10 @@ class BaseApplication {
type: 'MASTERKEY_REMOVE_NOT_LOADED',
ids: loadedMasterKeyIds,
});
// Schedule a sync operation so that items that need to be encrypted
// are sent to sync target.
reg.scheduleSync();
}
}