Restore notifications on boot/update

This commit is contained in:
M66B
2019-07-21 19:29:46 +02:00
parent 65c3d4f3ad
commit fd7c286752
2 changed files with 6 additions and 0 deletions

View File

@@ -436,6 +436,9 @@ public interface DaoMessage {
" WHERE id = :id")
int setMessageSnoozed(long id, Long wakeup);
@Query("UPDATE message SET notifying = 0")
int clearNotifyingMessages();
@Query("DELETE FROM message WHERE id = :id")
int deleteMessage(long id);