From 2dd909babbd118fe815b1be9378eee1f2447fd05 Mon Sep 17 00:00:00 2001 From: Thorben Günther Date: Mon, 8 Mar 2021 19:15:24 +0100 Subject: Cmd definitions: Add offline option to occupants --- src/command/cmd_defs.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 4164eb47..49c9bf95 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -728,10 +728,10 @@ static struct cmd_t command_defs[] = { CMD_TAG_GROUPCHAT, CMD_TAG_UI) CMD_SYN( - "/occupants show|hide [jid]", + "/occupants show|hide [jid|offline]", "/occupants char |none", "/occupants color on|off", - "/occupants default show|hide [jid]", + "/occupants default show|hide [jid|offline]", "/occupants size []", "/occupants indent ", "/occupants header char |none", @@ -747,8 +747,11 @@ static struct cmd_t command_defs[] = { { "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." }, + { "show offline", "Show offline occupants panel in current room." }, + { "hide offline", "Hide offline occupants panel in current room." }, { "default show|hide", "Whether occupants are shown by default in new rooms." }, { "default show|hide jid", "Whether occupants jids are shown by default in new rooms." }, + { "default show|hide offline", "Whether offline occupants are shown by default in new rooms." }, { "size ", "Percentage of the screen taken by the occupants list in rooms (1-99)." }, { "indent ", "Indent contact line by spaces (0 to 10)." }, { "header char ", "Prefix occupants headers with specified character." }, -- cgit 1.4.1-2-gfad0