Autocomplete /group add and /group remove contact paramater

closes #193
This commit is contained in:
James Booth
2013-06-23 01:23:44 +01:00
parent 1cf20b2491
commit f9b8da1afe
3 changed files with 67 additions and 0 deletions

View File

@@ -3547,6 +3547,15 @@ _group_autocomplete(char *input, int *size)
if (result != NULL) {
return result;
}
result = autocomplete_param_no_with_func(input, size, "/group add", 4, roster_find_contact);
if (result != NULL) {
return result;
}
result = autocomplete_param_no_with_func(input, size, "/group remove", 4, roster_find_contact);
if (result != NULL) {
return result;
}
result = autocomplete_param_with_func(input, size, "/group add", roster_find_group);
if (result != NULL) {
return result;