You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
All: Make sure existing resources are encrypted once E2EE has been enabled
This commit is contained in:
@ -270,7 +270,7 @@ class Synchronizer {
|
||||
this.dispatch({ type: 'SYNC_HAS_DISABLED_SYNC_ITEMS' });
|
||||
}
|
||||
|
||||
if (local.type_ == BaseModel.TYPE_RESOURCE && (action == 'createRemote' || (action == 'itemConflict' && remote))) {
|
||||
if (local.type_ == BaseModel.TYPE_RESOURCE && (action == 'createRemote' || action === 'updateRemote' || (action == 'itemConflict' && remote))) {
|
||||
try {
|
||||
const remoteContentPath = this.resourceDirName_ + '/' + local.id;
|
||||
const result = await Resource.fullPathForSyncUpload(local);
|
||||
|
Reference in New Issue
Block a user