Conditionally count archived messages for autoclose

pull/177/head
M66B 5 years ago
parent 7c45a7e9ee
commit 28d254a5b2

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

Loading…
Cancel
Save