1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Skip both message in archive/sent for auto expanding

This commit is contained in:
M66B 2018-10-18 17:11:06 +00:00
parent cde3320029
commit cb80dfbb0d

View file

@ -836,7 +836,8 @@ public class FragmentMessages extends FragmentEx {
TupleMessageEx see = null;
for (int i = 0; i < messages.size(); i++) {
TupleMessageEx message = messages.get(i);
if (!EntityFolder.ARCHIVE.equals(message.folderType)) {
if (!EntityFolder.ARCHIVE.equals(message.folderType) &&
!EntityFolder.SENT.equals(message.folderType)) {
count++;
single = message;
if (!message.ui_seen) {