mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 10:46:22 +00:00
Added /roster show|hide rooms
This commit is contained in:
@@ -1325,6 +1325,11 @@ cons_roster_setting(void)
|
||||
else
|
||||
cons_show("Roster priority (/roster) : hide");
|
||||
|
||||
if (prefs_get_boolean(PREF_ROSTER_ROOMS))
|
||||
cons_show("Roster rooms (/roster) : show");
|
||||
else
|
||||
cons_show("Roster rooms (/roster) : hide");
|
||||
|
||||
char *by = prefs_get_string(PREF_ROSTER_BY);
|
||||
cons_show("Roster by (/roster) : %s", by);
|
||||
prefs_free_string(by);
|
||||
|
||||
@@ -417,7 +417,7 @@ _rosterwin_rooms(ProfLayoutSplit *layout, gboolean newline)
|
||||
if (ch) {
|
||||
g_string_append_printf(title_str, "%c", ch);
|
||||
}
|
||||
g_string_append(title_str, "rooms");
|
||||
g_string_append(title_str, "Rooms");
|
||||
if (prefs_get_boolean(PREF_ROSTER_COUNT)) {
|
||||
g_string_append_printf(title_str, " (%d)", g_list_length(rooms));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user