mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 09:36:20 +00:00
xep-0308: add correction autocompletion
This commit is contained in:
@@ -2361,6 +2361,24 @@ static struct cmd_t command_defs[] =
|
||||
{ "on|off", ""})
|
||||
CMD_NOEXAMPLES
|
||||
},
|
||||
|
||||
{ "/correction",
|
||||
parse_args, 1, 1, &cons_correction_setting,
|
||||
CMD_NOSUBFUNCS
|
||||
CMD_MAINFUNC(cmd_os)
|
||||
CMD_TAGS(
|
||||
CMD_TAG_CHAT,
|
||||
CMD_TAG_GROUPCHAT)
|
||||
CMD_SYN(
|
||||
"/correction <on>|<off>",
|
||||
"/correction char <char>")
|
||||
CMD_DESC(
|
||||
"Settings regarding Last Message Correction (XEP-0308).")
|
||||
CMD_ARGS(
|
||||
{ "on|off", "Enable/Disable support for last message correction."},
|
||||
{ "char", "Set character that will prefix corrected messages. Default: +"})
|
||||
CMD_NOEXAMPLES
|
||||
},
|
||||
};
|
||||
|
||||
static GHashTable *search_index;
|
||||
|
||||
Reference in New Issue
Block a user