mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Debug info: blocked senders
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user