diff options
author | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2022-03-27 16:06:29 +0300 |
---|---|---|
committer | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2022-03-27 16:06:29 +0300 |
commit | 03f8db965895bbb36a1fb5b7b5aa52430e7ac03b (patch) | |
tree | 8ce01f837e5c349aff91e9f927642c67d2101fb7 /src/command/cmd_defs.c | |
parent | 409268e2b6644b583a0e0c42648bb16d0cf6b3eb (diff) | |
download | profani-tty-03f8db965895bbb36a1fb5b7b5aa52430e7ac03b.tar.gz |
Add none option for /who
Fixes https://github.com/profanity-im/profanity/issues/1425 `/who none` now displays all users in an muc without an affiliation
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r-- | src/command/cmd_defs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 750e533d..24d4a737 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -1049,7 +1049,7 @@ static struct cmd_t command_defs[] = { "/who", "/who online|offline|away|dnd|xa|chat|available|unavailable|any [<group>]", "/who moderator|participant|visitor", - "/who owner|admin|member") + "/who owner|admin|member|none") CMD_DESC( "Show contacts or room occupants with chosen status, role or affiliation.") CMD_ARGS( @@ -1060,7 +1060,7 @@ static struct cmd_t command_defs[] = { { "any", "Contacts with any status (same as calling with no argument)." }, { "<group>", "Filter the results by the specified roster group, not applicable in chat rooms." }, { "moderator|participant|visitor", "Room occupants with the specified role." }, - { "owner|admin|member", "Room occupants with the specified affiliation." }) + { "owner|admin|member|none", "Room occupants with the specified affiliation." }) CMD_EXAMPLES( "/who", "/who xa", |