From 53c4c8548b1ee8e312bc61b6657483d231157aa0 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 30 Sep 2019 19:11:30 +0200 Subject: Document how to block users in MUCs Regards https://github.com/profanity-im/profanity/issues/618 --- src/command/cmd_defs.c | 6 ++++-- 1 file 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 []", "/blocked remove ") 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 []", "Block the specified Jabber ID. If in a chat window and no jid is specified, the current recipient will be blocked." }, { "remove ", "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", -- cgit 1.4.1-2-gfad0