diff options
author | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-04-13 15:23:45 +0200 |
---|---|---|
committer | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-04-13 16:41:21 +0200 |
commit | 5b8b9074a294e32cbec5f64f61d867dbf0ca1d51 (patch) | |
tree | fdcf6666c4c3aef3fe63043b6bcb52e3cd6caeb8 /src/command/cmd_ac.c | |
parent | 766dc76e337c96e71edc698a8ee292014293c44f (diff) | |
download | profani-tty-5b8b9074a294e32cbec5f64f61d867dbf0ca1d51.tar.gz |
Add nickname support for /roster remove
Add support of name/nickname instead of only JID for `/roster remove` command. Add tests for it as well.
Diffstat (limited to 'src/command/cmd_ac.c')
-rw-r--r-- | src/command/cmd_ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index 3561449e..5678dbff 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -2292,7 +2292,7 @@ _roster_autocomplete(ProfWin* window, const char* const input, gboolean previous if (result) { return result; } - result = autocomplete_param_with_func(input, "/roster remove", roster_barejid_autocomplete, previous, NULL); + result = autocomplete_param_with_func(input, "/roster remove", roster_contact_autocomplete, previous, NULL); if (result) { return result; } |