Add occupants char

`/occupants char` now sets a character that is displayed before the nick
in MUCs. Similar like `/roster char` is displaying a char for the roster.

Regards #690
This commit is contained in:
Michael Vetter
2019-05-02 17:01:55 +02:00
parent 722cb5fdc3
commit f082563bf2
9 changed files with 94 additions and 3 deletions

View File

@@ -1237,6 +1237,12 @@ cons_occupants_setting(void)
else
cons_show("Occupants wrap (/occupants) : OFF");
char occupants_ch = prefs_get_occupants_char();
if (occupants_ch)
cons_show("Occupants char (/occupants) : %c", occupants_ch);
else
cons_show("Occupants char (/occupants) : none");
gint occupant_indent = prefs_get_occupants_indent();
cons_show("Occupant indent (/occupants) : %d", occupant_indent);