Consider not sticky folders as read only

This commit is contained in:
M66B 2019-07-25 07:17:27 +02:00
parent d8b398cf27
commit 40cba0f42b
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ public class ServiceSynchronize extends LifecycleService {
if (BuildConfig.DEBUG && "Postausgang".equals(folder.name))
throw new ReadOnlyFolderException(ifolder);
ifolder.open(Folder.READ_WRITE);
db.folder().setFolderReadOnly(folder.id, false);
db.folder().setFolderReadOnly(folder.id, ifolder.getUIDNotSticky());
} catch (ReadOnlyFolderException ex) {
Log.w(folder.name + " read only");
try {