Prevent moving from sent to inbox for POP3

pull/187/head
M66B 4 years ago
parent 7ca5cf71a6
commit 004cc290e2

@ -2613,6 +2613,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
boolean isTrash = (EntityFolder.TRASH.equals(folder.type) || account.protocol != EntityAccount.TYPE_IMAP);
boolean isJunk = EntityFolder.JUNK.equals(folder.type);
boolean isDrafts = EntityFolder.DRAFTS.equals(folder.type);
boolean isSent = EntityFolder.SENT.equals(folder.type);
if (pop && isSent)
isInbox = true;
result.isInbox = (result.isInbox == null ? isInbox : result.isInbox && isInbox);
result.isArchive = (result.isArchive == null ? isArchive : result.isArchive && isArchive);

Loading…
Cancel
Save