Browse Source

Consider failed messages as sent

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

+ 1
- 0
app/src/main/java/eu/faircode/email/DaoAccount.java View File

@ -58,6 +58,7 @@ public interface DaoAccount {
" AND folder.type = '" + EntityFolder.INBOX + "') AS unseen" +
", (SELECT COUNT(message.id) FROM message" +
" JOIN folder ON folder.id = message.folder" +
" JOIN operation ON operation.message = message.id AND operation.name = '" + EntityOperation.SEND + "'" +
" WHERE NOT message.ui_seen" +
" AND folder.type = '" + EntityFolder.OUTBOX + "') AS unsent")
LiveData<TupleAccountStats> liveStats();


Loading…
Cancel
Save