about summary refs log tree commit diff stats
path: root/src/config/preferences.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-04-28 18:32:26 +0200
committerGitHub <noreply@github.com>2022-04-28 18:32:26 +0200
commit066df7f741848a2c594a5cbb05cef5af9075d5a1 (patch)
treed2bdb4260285e874ac338f8271794a07b49712b3 /src/config/preferences.c
parent69663b83c8dd5b494e0dc6554507ab53ef0c18b9 (diff)
parent8044c82614ad63b60cc0805b0335150eaccb50aa (diff)
downloadprofani-tty-066df7f741848a2c594a5cbb05cef5af9075d5a1.tar.gz
Merge pull request #1697 from cockroach/feature/offline-muc-notifications
Add support for offline MUC notifications
Diffstat (limited to 'src/config/preferences.c')
-rw-r--r--src/config/preferences.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 2f7a350e..7b261c2c 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -1828,6 +1828,7 @@ _get_group(preference_t pref)
     case PREF_NOTIFY_CHAT_TEXT:
     case PREF_NOTIFY_ROOM:
     case PREF_NOTIFY_ROOM_MENTION:
+    case PREF_NOTIFY_ROOM_OFFLINE:
     case PREF_NOTIFY_ROOM_TRIGGER:
     case PREF_NOTIFY_ROOM_CURRENT:
     case PREF_NOTIFY_ROOM_TEXT:
@@ -1964,6 +1965,8 @@ _get_key(preference_t pref)
         return "room.trigger";
     case PREF_NOTIFY_ROOM_MENTION:
         return "room.mention";
+    case PREF_NOTIFY_ROOM_OFFLINE:
+        return "room.offline";
     case PREF_NOTIFY_ROOM_CURRENT:
         return "room.current";
     case PREF_NOTIFY_ROOM_TEXT: