about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-05-02 18:06:10 +0200
committerGitHub <noreply@github.com>2022-05-02 18:06:10 +0200
commit49c6b4581226b3288dea7d712aa662a265562211 (patch)
treed47041cdf60ebbd713e7f9ed5a4e62466f85d645
parent95686eb64281be4a7a2ac3371636161b5cf3dad2 (diff)
parentc72c3f797cf95700844d56e359a5bbeabfae6588 (diff)
downloadprofani-tty-49c6b4581226b3288dea7d712aa662a265562211.tar.gz
Merge pull request #1702 from mdosch/fix-autocomplete-ox-discover
Fix autocomplete for `/ox discover`.
-rw-r--r--src/command/cmd_ac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c
index f477aa6c..1a29c9cc 100644
--- a/src/command/cmd_ac.c
+++ b/src/command/cmd_ac.c
@@ -2596,7 +2596,7 @@ _ox_autocomplete(ProfWin* window, const char* const input, gboolean previous)
             return found;
         }
 
-        found = autocomplete_param_with_func(input, "/ox discover", roster_contact_autocomplete, previous, NULL);
+        found = autocomplete_param_with_func(input, "/ox discover", roster_barejid_autocomplete, previous, NULL);
         if (found) {
             return found;
         }