mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Prevent deleting inbox
This commit is contained in:
@@ -1088,6 +1088,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
throw ex1;
|
||||
}
|
||||
} catch (FolderNotFoundException ex) {
|
||||
if ("INBOX".equalsIgnoreCase(folder.name))
|
||||
throw ex;
|
||||
Log.w(folder.name, ex);
|
||||
db.folder().deleteFolder(folder.id);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user