mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Use local drafts folder if needed
This commit is contained in:
@@ -1466,7 +1466,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
|
||||
// Get folder
|
||||
Folder ifolder = mapFolders.get(folder); // null when polling
|
||||
boolean canOpen = (account.protocol == EntityAccount.TYPE_IMAP || EntityFolder.INBOX.equals(folder.type));
|
||||
boolean canOpen = (EntityFolder.INBOX.equals(folder.type) ||
|
||||
(account.protocol == EntityAccount.TYPE_IMAP && !folder.local));
|
||||
final boolean shouldClose = (ifolder == null && canOpen);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user