Conditionally count archived messages for autoclose

This commit is contained in:
M66B 2020-03-18 14:49:57 +01:00
parent 7c45a7e9ee
commit 28d254a5b2
1 changed files with 2 additions and 2 deletions

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))