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:
parent
aa4dede30a
commit
671fa839e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user