Browse Source

Skip outbox messages for auto actions

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

+ 4
- 3
app/src/main/java/eu/faircode/email/FragmentMessages.java View File

@ -838,7 +838,8 @@ public class FragmentMessages extends FragmentEx {
for (int i = 0; i < messages.size(); i++) {
TupleMessageEx message = messages.get(i);
if (!EntityFolder.ARCHIVE.equals(message.folderType) &&
!EntityFolder.SENT.equals(message.folderType)) {
!EntityFolder.SENT.equals(message.folderType) &&
!EntityFolder.OUTBOX.equals(message.folderType)) {
autoCount++;
single = message;
if (!message.ui_seen) {
@ -868,7 +869,8 @@ public class FragmentMessages extends FragmentEx {
for (int i = 0; i < messages.size(); i++) {
TupleMessageEx message = messages.get(i);
if (!EntityFolder.ARCHIVE.equals(message.folderType) &&
!EntityFolder.SENT.equals(message.folderType)) {
!EntityFolder.SENT.equals(message.folderType) &&
!EntityFolder.OUTBOX.equals(message.folderType)) {
count++;
}
}
@ -900,7 +902,6 @@ public class FragmentMessages extends FragmentEx {
}
}
});
}
private void handleExpand(long id) {


Loading…
Cancel
Save