about summary refs log tree commit diff stats
path: root/src/ui/console.c
diff options
context:
space:
mode:
authorStefan Ott <stefan@ott.net>2022-04-14 04:25:30 +0200
committerStefan Ott <stefan@ott.net>2022-04-23 02:42:23 +0200
commit8044c82614ad63b60cc0805b0335150eaccb50aa (patch)
tree50a6f61ab49f2a6e38f82cf4c2177bbde5164be0 /src/ui/console.c
parent652d30bb7f7ce4dc89eebcbb4b796f10249a8be1 (diff)
downloadprofani-tty-8044c82614ad63b60cc0805b0335150eaccb50aa.tar.gz
Add support for offline MUC notifications
Diffstat (limited to 'src/ui/console.c')
-rw-r--r--src/ui/console.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 170def7c..08ccba17 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1717,6 +1717,11 @@ cons_notify_setting(void)
     else
         cons_show("Room mention (/notify room)         : OFF");
 
+    if (prefs_get_boolean(PREF_NOTIFY_ROOM_OFFLINE))
+        cons_show("Room offline messages (/notify room): ON");
+    else
+        cons_show("Room offline messages (/notify room): OFF");
+
     if (prefs_get_boolean(PREF_NOTIFY_MENTION_CASE_SENSITIVE))
         cons_show("Room mention case (/notify room)    : Case sensitive");
     else