Add /roster room use command

`/roster room use name` to use the name of the MUC in the roster list.
`/roster room use jid` to use the jid of the MUC in the roster list.

Display it only in case `/roster room by none` is set so far.
This commit is contained in:
Michael Vetter
2020-01-23 16:50:43 +01:00
parent 3066fd77fc
commit 9e35861001
6 changed files with 48 additions and 2 deletions

View File

@@ -291,6 +291,8 @@ static struct cmd_t command_defs[] =
"/roster room unread before|after|off",
"/roster room show server",
"/roster room hide server",
"/roster room use name",
"/roster room use jid",
"/roster private room|group|off",
"/roster private char <char>|none",
"/roster header char <char>|none",
@@ -364,6 +366,8 @@ static struct cmd_t command_defs[] =
{ "room unread off", "Do not show unread message count for rooms." },
{ "room show server", "Show the conference server with room JIDs." },
{ "room hide server", "Do not show the conference server with room JIDs." },
{ "room use name", "Use the MUC name as room name." },
{ "room use jid", "Use the JID as room name." },
{ "private room", "Show room private chats with the room." },
{ "private group", "Show room private chats as a separate roster group." },
{ "private off", "Do not show room private chats." },