mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 01:06:04 +00:00
Skip outbox messages for auto actions
This commit is contained in:
parent
5ff9f690e6
commit
871a316157
1 changed files with 4 additions and 3 deletions
|
@ -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…
Reference in a new issue