mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Allow moving trash / POP3 / leave deleted
This commit is contained in:
@@ -1959,7 +1959,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
boolean archive = (move && (hasArchive && !inArchive && !inSent && !inTrash && !inJunk));
|
||||
boolean trash = (move || outbox || debug ||
|
||||
message.accountProtocol == EntityAccount.TYPE_POP);
|
||||
boolean inbox = (move && hasInbox && (inArchive || inTrash || inJunk));
|
||||
boolean inbox = (move && hasInbox && (inArchive || inTrash || inJunk)) ||
|
||||
(message.accountProtocol == EntityAccount.TYPE_POP && message.accountLeaveDeleted && inTrash);
|
||||
boolean keywords = (message.uid != null &&
|
||||
message.accountProtocol == EntityAccount.TYPE_IMAP);
|
||||
boolean labels = (data.isGmail && move && !inTrash && !inJunk && !outbox);
|
||||
|
||||
Reference in New Issue
Block a user