Browse Source

Skip both message in archive/sent for auto expanding

main
M66B 6 years ago
parent
commit
cb80dfbb0d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/src/main/java/eu/faircode/email/FragmentMessages.java

+ 2
- 1
app/src/main/java/eu/faircode/email/FragmentMessages.java 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) {


Loading…
Cancel
Save