Allow moving POP3 messages to IMAP accounts

This commit is contained in:
M66B
2023-11-13 13:45:23 +01:00
parent c67007d13c
commit 17b8f77504
2 changed files with 31 additions and 6 deletions

View File

@@ -10867,7 +10867,8 @@ public class FragmentMessages extends FragmentBase
result.account = accounts.values().iterator().next();
result.accounts = new LinkedHashMap<>();
if (!result.hasPop) {
if (!result.hasPop ||
(accounts.size() == 1 && result.isInbox && !result.isSent)) {
List<EntityAccount> syncing = db.account().getSynchronizingAccounts(EntityAccount.TYPE_IMAP);
if (syncing != null)
for (EntityAccount a : syncing)