mirror of https://github.com/M66B/FairEmail.git
Consider not sticky folders as read only
This commit is contained in:
parent
d8b398cf27
commit
40cba0f42b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue