From cb80dfbb0ddc2f9868c4764c2f6041ad35ebd21d Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 18 Oct 2018 17:11:06 +0000 Subject: [PATCH] Skip both message in archive/sent for auto expanding --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 363e13b7..bcdff944 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -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) {