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

@@ -752,6 +752,7 @@ static struct cmd_t command_defs[] =
CMD_TAG_UI)
CMD_SYN(
"/occupants show|hide [jid]",
"/occupants char <char>|none",
"/occupants default show|hide [jid]",
"/occupants size [<percent>]",
"/occupants indent <indent>",
@@ -761,6 +762,8 @@ static struct cmd_t command_defs[] =
"Show or hide room occupants, and occupants panel display settings.")
CMD_ARGS(
{ "show", "Show the occupants panel in current room." },
{ "char <char>", "Prefix occupants with specified character." },
{ "char none", "Remove occupants character prefix." },
{ "hide", "Hide the occupants panel in current room." },
{ "show jid", "Show jid in the occupants panel in current room." },
{ "hide jid", "Hide jid in the occupants panel in current room." },