diff options
author | James Booth <boothj5@gmail.com> | 2013-06-23 01:23:44 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-06-23 01:23:44 +0100 |
commit | f9b8da1afee6267cc1b09f036cd58e1d9326509c (patch) | |
tree | 01a1886747c492fa161e915a2164cab0873abdf4 /src/command | |
parent | 1cf20b24911c3e02b4d29adc9499680cac449bc0 (diff) | |
download | profani-tty-f9b8da1afee6267cc1b09f036cd58e1d9326509c.tar.gz |
Autocomplete /group add and /group remove contact paramater
closes #193
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/command.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c index 72b95f9a..bd5b903e 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -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; |