Sync only folders that aren't owned by the user
This commit is contained in:
parent
c8e7e9bedb
commit
6e688cd445
1 changed files with 4 additions and 2 deletions
|
@ -41,8 +41,10 @@ class FolderSharingService {
|
|||
}
|
||||
}
|
||||
for (final folder in folders) {
|
||||
await syncDiff(folder);
|
||||
await FolderDB.instance.putFolder(folder);
|
||||
if (folder.owner != Configuration.instance.getUsername()) {
|
||||
await syncDiff(folder);
|
||||
await FolderDB.instance.putFolder(folder);
|
||||
}
|
||||
}
|
||||
Bus.instance.fire(RemoteSyncEvent(true));
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue