about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-28 23:47:08 +0000
committerJames Booth <boothj5@gmail.com>2015-11-28 23:47:08 +0000
commit04ad003e111a0433373bd3b2a06c727e119b407a (patch)
treed283762bdeb0869364d20198fc8ecd4d52bf6314
parent2fc984e6735b7d76e7332e5192c1a80758015494 (diff)
downloadprofani-tty-04ad003e111a0433373bd3b2a06c727e119b407a.tar.gz
Added /notify reset to autocompletion
-rw-r--r--src/command/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 6f60b3ac..0b5124e4 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -1074,6 +1074,7 @@ static struct cmd_t command_defs[] =
             "/notify on|off",
             "/notify mention on|off",
             "/notify trigger on|off"
+            "/notify reset"
             "/notify remind <seconds>",
             "/notify typing on|off",
             "/notify typing current on|off",
@@ -1946,6 +1947,7 @@ cmd_init(void)
     autocomplete_add(notify_ac, "off");
     autocomplete_add(notify_ac, "mention");
     autocomplete_add(notify_ac, "trigger");
+    autocomplete_add(notify_ac, "reset");
 
     notify_message_ac = autocomplete_new();
     autocomplete_add(notify_message_ac, "on");