Allow hiding of empty presence groups: /roster {show,hide} empty (default is show)

This commit is contained in:
Daniel
2015-07-08 13:11:56 +02:00
parent 5e324e407f
commit 806afcc014
7 changed files with 36 additions and 4 deletions

View File

@@ -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);