1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

All: Fixed issue where synchroniser would try to update a shared folder that is not longer accessible

This commit is contained in:
Laurent Cozic
2021-12-20 15:47:50 +01:00
parent 98fba37cd3
commit 667d6420f2
6 changed files with 79 additions and 10 deletions

View File

@@ -424,6 +424,7 @@ export default class Synchronizer {
// Before synchronising make sure all share_id properties are set
// correctly so as to share/unshare the right items.
await Folder.updateAllShareIds(this.resourceService());
if (this.shareService_) await this.shareService_.checkShareConsistency();
const itemUploader = new ItemUploader(this.api(), this.apiCall);