From 806afcc014ba272b32f63e7d28edaf25cacd279e Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 8 Jul 2015 13:11:56 +0200 Subject: Allow hiding of empty presence groups: /roster {show,hide} empty (default is show) --- src/ui/console.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ui/console.c') diff --git a/src/ui/console.c b/src/ui/console.c index 8bf873a5..ceb02e08 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1039,6 +1039,11 @@ cons_roster_setting(void) else cons_show("Roster resource (/roster) : hide"); + if (prefs_get_boolean(PREF_ROSTER_EMPTY)) + cons_show("Roster empty (/roster) : show"); + else + cons_show("Roster empty (/roster) : hide"); + char *by = prefs_get_string(PREF_ROSTER_BY); cons_show("Roster by (/roster) : %s", by); prefs_free_string(by); -- cgit 1.4.1-2-gfad0