Revert "Show number unread inbox for accounts"

This reverts commit d21f9e6edb.
This commit is contained in:
M66B
2020-10-21 21:09:23 +02:00
parent f3921b7137
commit cb0b5ef7ff
4 changed files with 3 additions and 36 deletions

View File

@@ -62,13 +62,6 @@ public interface DaoAccount {
" AND folder.type <> '" + EntityFolder.OUTBOX + "'" +
" AND NOT ui_seen" +
" AND NOT ui_hide) AS unseen" +
", (SELECT COUNT(DISTINCT message.id)" +
" FROM message" +
" JOIN folder ON folder.id = message.folder" +
" WHERE message.account = account.id" +
" AND folder.type = '" + EntityFolder.INBOX + "'" +
" AND NOT ui_seen" +
" AND NOT ui_hide) AS inbox" +
", (SELECT COUNT(identity.id)" +
" FROM identity" +
" WHERE identity.account = account.id" +