From 808850c6f5c85b0e173e922b9979ca3a09b4dc31 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 19 Dec 2019 19:14:59 +0100 Subject: Add /occupants color command `/occupants color on|off` to enable or disable XEP-0392 also for the MUC occupants. Regards https://github.com/profanity-im/profanity/issues/1191 --- src/command/cmd_defs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/command/cmd_defs.c') diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 38547bbd..17b9d6cb 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -714,6 +714,7 @@ static struct cmd_t command_defs[] = CMD_SYN( "/occupants show|hide [jid]", "/occupants char |none", + "/occupants color on|off", "/occupants default show|hide [jid]", "/occupants size []", "/occupants indent ", @@ -725,6 +726,8 @@ static struct cmd_t command_defs[] = { "show", "Show the occupants panel in current room." }, { "char ", "Prefix occupants with specified character." }, { "char none", "Remove occupants character prefix." }, + { "color on", "Enable generated color names (XEP-0392) for occupants" }, + { "color off", "Disable generated color names (XEP-0392) for occupants" }, { "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." }, -- cgit 1.4.1-2-gfad0