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

Added contact autocompletion to /otr start <contact>

This commit is contained in:
James Booth 2014-01-13 19:00:34 +00:00
parent aa4dede30a
commit 671fa839e8

View File

@ -1564,6 +1564,11 @@ _otr_autocomplete(char *input, int *size)
{ {
char *result = NULL; 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); result = autocomplete_param_with_ac(input, size, "/otr", otr_ac);
if (result != NULL) { if (result != NULL) {
return result; return result;