mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Allow archiving single sent messages
This commit is contained in:
parent
2d24956bec
commit
a77204daf5
1 changed files with 1 additions and 1 deletions
|
@ -2356,7 +2356,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
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);
|
||||||
boolean archive = (move && (hasArchive && !inArchive && !inSent && !inTrash && !inJunk));
|
boolean archive = (move && (hasArchive && !inArchive && !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) ||
|
||||||
(pop && message.accountLeaveDeleted && inTrash);
|
(pop && message.accountLeaveDeleted && inTrash);
|
||||||
|
|
Loading…
Reference in a new issue