Added button to delete block sender rules

This commit is contained in:
M66B
2021-09-18 20:37:59 +02:00
parent 7904267e9b
commit 2369f6dbea
7 changed files with 101 additions and 111 deletions

View File

@@ -75,6 +75,11 @@ public interface DaoContact {
@Query("DELETE FROM contact WHERE id = :id")
int deleteContact(long id);
@Query("DELETE FROM contact" +
" WHERE account = :account" +
" AND type = :type")
int deleteContact(long account, int type);
@Query("DELETE FROM contact" +
" WHERE account = :account" +
" AND type = :type" +