From 8044c82614ad63b60cc0805b0335150eaccb50aa Mon Sep 17 00:00:00 2001 From: Stefan Ott Date: Thu, 14 Apr 2022 04:25:30 +0200 Subject: Add support for offline MUC notifications --- src/config/preferences.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config/preferences.c') 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: -- cgit 1.4.1-2-gfad0