Added account warning about no identities

This commit is contained in:
M66B
2019-04-27 11:37:10 +02:00
parent ccd1e532fd
commit cf55c8984b
5 changed files with 26 additions and 1 deletions

View File

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