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

Conditionally count archived messages for autoclose

This commit is contained in:
M66B 2020-03-18 14:49:57 +01:00
parent 7c45a7e9ee
commit 28d254a5b2

View file

@ -3906,7 +3906,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
if (!(EntityFolder.OUTBOX.equals(message.folderType) && message.ui_snoozed != null) &&
!EntityFolder.ARCHIVE.equals(message.folderType) &&
!(EntityFolder.ARCHIVE.equals(message.folderType) && filter_archive) &&
!EntityFolder.SENT.equals(message.folderType) &&
!EntityFolder.TRASH.equals(message.folderType) &&
!EntityFolder.JUNK.equals(message.folderType))
@ -3945,7 +3945,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (message == null)
continue;
if (!(EntityFolder.OUTBOX.equals(message.folderType) && message.ui_snoozed != null) &&
!EntityFolder.ARCHIVE.equals(message.folderType) &&
!(EntityFolder.ARCHIVE.equals(message.folderType) && filter_archive) &&
!EntityFolder.SENT.equals(message.folderType) &&
!EntityFolder.TRASH.equals(message.folderType) &&
!EntityFolder.JUNK.equals(message.folderType))