Debug info: hidden messages

This commit is contained in:
M66B
2023-02-24 17:12:13 +01:00
parent 8a2a759979
commit 2bd3efa149
2 changed files with 7 additions and 1 deletions

View File

@@ -490,6 +490,11 @@ public interface DaoMessage {
" AND NOT ui_seen")
int countUnseen(long folder);
@Query("SELECT COUNT(*) FROM message" +
" WHERE folder = :folder" +
" AND ui_hide")
int countHidden(long folder);
@Query("SELECT COUNT(*)" +
" FROM message" +
" WHERE folder = :folder" +