mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +00:00
POP3: disabled move from trash
This commit is contained in:
parent
c1ceb821e6
commit
2f8500202e
1 changed files with 1 additions and 2 deletions
|
@ -2337,8 +2337,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
boolean inJunk = EntityFolder.JUNK.equals(message.folderType);
|
boolean inJunk = EntityFolder.JUNK.equals(message.folderType);
|
||||||
boolean outbox = EntityFolder.OUTBOX.equals(message.folderType);
|
boolean outbox = EntityFolder.OUTBOX.equals(message.folderType);
|
||||||
|
|
||||||
boolean move = !(message.folderReadOnly || message.uid == null) ||
|
boolean move = !(message.folderReadOnly || message.uid == null);
|
||||||
(pop && EntityFolder.TRASH.equals(message.folderType));
|
|
||||||
boolean archive = (move && (hasArchive && !inArchive && !inSent && !inTrash && !inJunk));
|
boolean archive = (move && (hasArchive && !inArchive && !inSent && !inTrash && !inJunk));
|
||||||
boolean trash = (move || outbox || debug || pop);
|
boolean trash = (move || outbox || debug || pop);
|
||||||
boolean inbox = (move && hasInbox && (inArchive || inTrash || inJunk) && imap) ||
|
boolean inbox = (move && hasInbox && (inArchive || inTrash || inJunk) && imap) ||
|
||||||
|
|
Loading…
Reference in a new issue