xep-0308: Fix sending corrections for multiple words

This commit is contained in:
Michael Vetter
2020-02-12 14:45:26 +01:00
parent bc571a387d
commit 1072cdab0a
3 changed files with 7 additions and 4 deletions

View File

@@ -2393,8 +2393,10 @@ static struct cmd_t command_defs[] =
CMD_DESC(
"Correct and resend the last message (XEP-0308).")
CMD_ARGS(
{ "<message>", "The corrected message."})
CMD_NOEXAMPLES
{ "\"message\"", "The corrected message. Multiple words need quotation marks."})
CMD_EXAMPLES(
"/correct Profanity",
"/correct \"Profanity is the best\"")
},
};