Document how to block users in MUCs

Regards https://github.com/profanity-im/profanity/issues/618
This commit is contained in:
Michael Vetter
2019-09-30 19:11:30 +02:00
parent e8420e7235
commit 53c4c8548b

View File

@@ -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",