Debug info: blocked senders

This commit is contained in:
M66B
2023-09-02 11:39:14 +02:00
parent 144b9c46f8
commit d81be67338
2 changed files with 9 additions and 1 deletions

View File

@@ -99,6 +99,11 @@ public interface DaoContact {
" OR type = " + EntityContact.TYPE_FROM + ")")
int countContacts();
@Query("SELECT COUNT(*) FROM contact" +
" WHERE account = :account" +
" AND type = " + EntityContact.TYPE_JUNK)
int countBlocked(long account);
@Insert
long insertContact(EntityContact contact);