mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 21:24:34 +00:00
Allow trashing/archiving of sent messages when not threading
This commit is contained in:
parent
129b224daa
commit
3aafbcfd5c
1 changed files with 4 additions and 2 deletions
|
@ -8044,7 +8044,7 @@ public class FragmentMessages extends FragmentBase
|
||||||
if (!folder.read_only &&
|
if (!folder.read_only &&
|
||||||
!EntityFolder.DRAFTS.equals(folder.type) &&
|
!EntityFolder.DRAFTS.equals(folder.type) &&
|
||||||
!EntityFolder.OUTBOX.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.TRASH.equals(folder.type) &&
|
||||||
!EntityFolder.JUNK.equals(folder.type))
|
!EntityFolder.JUNK.equals(folder.type))
|
||||||
trashable = true;
|
trashable = true;
|
||||||
|
@ -8053,7 +8053,9 @@ public class FragmentMessages extends FragmentBase
|
||||||
snoozable = true;
|
snoozable = true;
|
||||||
|
|
||||||
if (!folder.read_only &&
|
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.TRASH.equals(folder.type) &&
|
||||||
!EntityFolder.JUNK.equals(folder.type) &&
|
!EntityFolder.JUNK.equals(folder.type) &&
|
||||||
!EntityFolder.ARCHIVE.equals(folder.type))
|
!EntityFolder.ARCHIVE.equals(folder.type))
|
||||||
|
|
Loading…
Reference in a new issue