Skip outbox messages for auto actions

pull/146/head
M66B 6 years ago
parent 5ff9f690e6
commit 871a316157

@ -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