mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 23:46:22 +00:00
Added contact autocompletion to /otr start <contact>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user