1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 07:42:52 +00:00

Allow trashing/archiving of sent messages when not threading

This commit is contained in:
M66B 2024-12-11 21:07:06 +01:00
parent 129b224daa
commit 3aafbcfd5c

View file

@ -8044,7 +8044,7 @@ public class FragmentMessages extends FragmentBase
if (!folder.read_only &&
!EntityFolder.DRAFTS.equals(folder.type) &&
!EntityFolder.OUTBOX.equals(folder.type) &&
(!EntityFolder.SENT.equals(folder.type) || move_thread_sent) &&
(!EntityFolder.SENT.equals(folder.type) || move_thread_sent || !threading) &&
!EntityFolder.TRASH.equals(folder.type) &&
!EntityFolder.JUNK.equals(folder.type))
trashable = true;
@ -8053,7 +8053,9 @@ public class FragmentMessages extends FragmentBase
snoozable = true;
if (!folder.read_only &&
!EntityFolder.isOutgoing(folder.type) &&
!EntityFolder.DRAFTS.equals(folder.type) &&
!EntityFolder.OUTBOX.equals(folder.type) &&
(!EntityFolder.SENT.equals(folder.type) || !threading) &&
!EntityFolder.TRASH.equals(folder.type) &&
!EntityFolder.JUNK.equals(folder.type) &&
!EntityFolder.ARCHIVE.equals(folder.type))