about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-05-02 10:23:24 +0200
committerMichael Vetter <jubalh@iodoru.org>2022-05-02 10:23:24 +0200
commit95686eb64281be4a7a2ac3371636161b5cf3dad2 (patch)
treee462ab412c9218635967dd9ad22fb910c445bcc2
parent22064b3a280a373e40654007f85ed622b6ccaa6f (diff)
downloadprofani-tty-95686eb64281be4a7a2ac3371636161b5cf3dad2.tar.gz
ox: add jid autocompletion for /ox request
-rw-r--r--src/command/cmd_ac.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c
index 83721f02..f477aa6c 100644
--- a/src/command/cmd_ac.c
+++ b/src/command/cmd_ac.c
@@ -2605,6 +2605,11 @@ _ox_autocomplete(ProfWin* window, const char* const input, gboolean previous)
         if (found) {
             return found;
         }
+
+        found = autocomplete_param_with_func(input, "/ox request", roster_barejid_autocomplete, previous, NULL);
+        if (found) {
+            return found;
+        }
     }
 
     found = autocomplete_param_with_ac(input, "/ox log", ox_log_ac, TRUE, previous);