Debug: delete notification channels

This commit is contained in:
M66B
2021-10-09 18:52:53 +02:00
parent 4e02aad8ae
commit 654339da5d
4 changed files with 83 additions and 0 deletions

View File

@@ -189,6 +189,9 @@ public interface DaoAccount {
@Query("UPDATE account SET `primary` = :primary WHERE id = :id AND NOT (`primary` IS :primary)")
int setAccountPrimary(long id, boolean primary);
@Query("UPDATE account SET notify = :notify WHERE id = :id AND NOT (notify IS :notify)")
int setAccountNotify(long id, boolean notify);
@Query("UPDATE account SET thread = :thread WHERE id = :id AND NOT (thread IS :thread)")
int setAccountThread(long id, Long thread);