1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

Allow archiving single sent messages

This commit is contained in:
M66B 2024-12-12 19:55:24 +01:00
parent 2d24956bec
commit a77204daf5

View file

@ -2356,7 +2356,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean outbox = EntityFolder.OUTBOX.equals(message.folderType);
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 inbox = (move && hasInbox && (inArchive || inTrash || inJunk) && imap) ||
(pop && message.accountLeaveDeleted && inTrash);