Added jid autocompleter for /roster nick command

This commit is contained in:
James Booth
2013-05-20 20:51:43 +01:00
parent 72b8097465
commit 6c4b81d093
3 changed files with 35 additions and 19 deletions

View File

@@ -3236,7 +3236,7 @@ static void
_roster_autocomplete(char *input, int *size)
{
if ((strncmp(input, "/roster nick ", 13) == 0) && (*size > 13)) {
_parameter_autocomplete(input, size, "/roster nick", roster_find_contact);
_parameter_autocomplete(input, size, "/roster nick", roster_find_jid);
} else if ((strncmp(input, "/roster ", 8) == 0) && (*size > 8)) {
_parameter_autocomplete_with_ac(input, size, "/roster", roster_ac);
}