Experiment: rule to set notifications local only

This commit is contained in:
M66B
2022-11-23 08:32:02 +01:00
parent 69d2b4f434
commit 3e37f11996
12 changed files with 2883 additions and 1 deletions

View File

@@ -792,6 +792,9 @@ public interface DaoMessage {
@Query("UPDATE message SET ui_silent = :ui_silent WHERE id = :id AND NOT (ui_silent IS :ui_silent)")
int setMessageUiSilent(long id, boolean ui_silent);
@Query("UPDATE message SET ui_local_only = :ui_local_only WHERE id = :id AND NOT (ui_local_only IS :ui_local_only)")
int setMessageUiLocalOnly(long id, boolean ui_local_only);
@Query("UPDATE message SET ui_busy = :busy WHERE id = :id AND NOT (ui_busy IS :busy)")
int setMessageUiBusy(long id, Long busy);