1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Added /notify reset to autocompletion

This commit is contained in:
James Booth 2015-11-28 23:47:08 +00:00
parent 2fc984e673
commit 04ad003e11

View File

@ -1074,6 +1074,7 @@ static struct cmd_t command_defs[] =
"/notify on|off", "/notify on|off",
"/notify mention on|off", "/notify mention on|off",
"/notify trigger on|off" "/notify trigger on|off"
"/notify reset"
"/notify remind <seconds>", "/notify remind <seconds>",
"/notify typing on|off", "/notify typing on|off",
"/notify typing current on|off", "/notify typing current on|off",
@ -1946,6 +1947,7 @@ cmd_init(void)
autocomplete_add(notify_ac, "off"); autocomplete_add(notify_ac, "off");
autocomplete_add(notify_ac, "mention"); autocomplete_add(notify_ac, "mention");
autocomplete_add(notify_ac, "trigger"); autocomplete_add(notify_ac, "trigger");
autocomplete_add(notify_ac, "reset");
notify_message_ac = autocomplete_new(); notify_message_ac = autocomplete_new();
autocomplete_add(notify_message_ac, "on"); autocomplete_add(notify_message_ac, "on");