diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-09-30 19:11:30 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-09-30 19:11:30 +0200 |
commit | 53c4c8548b1ee8e312bc61b6657483d231157aa0 (patch) | |
tree | 88237a6ff1bed0be0ef5e82f9b2b3a7b43ed92e7 /src/command | |
parent | e8420e7235c4a9217f32ef98984e7b6ee5a11cdf (diff) | |
download | profani-tty-53c4c8548b1ee8e312bc61b6657483d231157aa0.tar.gz |
Document how to block users in MUCs
Regards https://github.com/profanity-im/profanity/issues/618
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/cmd_defs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 358b3472..46e34512 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -402,12 +402,14 @@ static struct cmd_t command_defs[] = "/blocked add [<jid>]", "/blocked remove <jid>") CMD_DESC( - "Manage blocked users, calling with no arguments shows the current list of blocked users.") + "Manage blocked users, calling with no arguments shows the current list of blocked users." + "To blog a certain user in a MUC use the following as jid: room@conference.example.org/spammy-user") CMD_ARGS( { "add [<jid>]", "Block the specified Jabber ID. If in a chat window and no jid is specified, the current recipient will be blocked." }, { "remove <jid>", "Remove the specified Jabber ID from the blocked list." }) CMD_EXAMPLES( - "/blocked add spammer@spam.org") + "/blocked add spammer@spam.org", + "/blocked add profanity@rooms.dismail.de/spammy-user") }, { "/group", |