about summary refs log tree commit diff stats
path: root/src/ui/console.c
diff options
context:
space:
mode:
authorThorben Günther <admin@xenrox.net>2021-03-05 13:29:36 +0100
committerThorben Günther <admin@xenrox.net>2021-03-08 14:34:59 +0100
commitf1780f0017dde352a30192965233e25ef252d1f5 (patch)
treede464116964ec2f55f34f057746b70db4b5d6e34 /src/ui/console.c
parent5c5c45321976c9a859694afa781178c68d076ee2 (diff)
downloadprofani-tty-f1780f0017dde352a30192965233e25ef252d1f5.tar.gz
MUC: Show offline members in sidebar
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 190adeea..a2f5db60 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1255,6 +1255,11 @@ cons_occupants_setting(void)
     else
         cons_show("Occupant jids (/occupants)          : hide");
 
+    if (prefs_get_boolean(PREF_OCCUPANTS_OFFLINE))
+        cons_show("Occupants offline (/occupants)      : show");
+    else
+        cons_show("Occupants offline (/occupants)      : hide");
+
     if (prefs_get_boolean(PREF_OCCUPANTS_WRAP))
         cons_show("Occupants wrap (/occupants)         : ON");
     else