1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 09:17:58 +00:00

Skip outbox messages for auto actions

This commit is contained in:
M66B 2018-10-19 10:57:56 +00:00
parent 5ff9f690e6
commit 871a316157

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