diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-04-28 18:32:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 18:32:26 +0200 |
commit | 066df7f741848a2c594a5cbb05cef5af9075d5a1 (patch) | |
tree | d2bdb4260285e874ac338f8271794a07b49712b3 /src/config | |
parent | 69663b83c8dd5b494e0dc6554507ab53ef0c18b9 (diff) | |
parent | 8044c82614ad63b60cc0805b0335150eaccb50aa (diff) | |
download | profani-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')
-rw-r--r-- | src/config/preferences.c | 3 | ||||
-rw-r--r-- | src/config/preferences.h | 1 |
2 files changed, 4 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: diff --git a/src/config/preferences.h b/src/config/preferences.h index 25fc16ad..761f92bf 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -176,6 +176,7 @@ typedef enum { PREF_URL_SAVE_CMD, PREF_COMPOSE_EDITOR, PREF_SILENCE_NON_ROSTER, + PREF_NOTIFY_ROOM_OFFLINE, } preference_t; typedef struct prof_alias_t |