From 671fa839e8f41b28a792893e7e1a42056f768594 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 13 Jan 2014 19:00:34 +0000 Subject: [PATCH] Added contact autocompletion to /otr start --- src/command/command.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/command/command.c b/src/command/command.c index 9bab19da..2d03db5a 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1564,6 +1564,11 @@ _otr_autocomplete(char *input, int *size) { char *result = NULL; + result = autocomplete_param_with_func(input, size, "/otr start", roster_find_contact); + if (result != NULL) { + return result; + } + result = autocomplete_param_with_ac(input, size, "/otr", otr_ac); if (result != NULL) { return result;