Consider failed messages as sent

pull/50/head
M66B 6 years ago
parent f2779c7f0f
commit 6cadda6c0a

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