mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Show single inbox / nav menu
This commit is contained in:
@@ -178,6 +178,7 @@ public interface DaoFolder {
|
||||
List<EntityFolder> getChildFolders(long parent);
|
||||
|
||||
@Query("SELECT folder.type" +
|
||||
", COUNT(DISTINCT folder.id) AS folders" +
|
||||
", COUNT(message.id) AS messages" +
|
||||
", SUM(CASE WHEN NOT message.ui_seen THEN 1 ELSE 0 END) AS unseen" +
|
||||
", CASE WHEN folder.account IS NULL THEN folder.sync_state ELSE NULL END AS sync_state" +
|
||||
|
||||
Reference in New Issue
Block a user