diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-05-02 10:23:24 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-05-02 10:23:24 +0200 |
commit | 95686eb64281be4a7a2ac3371636161b5cf3dad2 (patch) | |
tree | e462ab412c9218635967dd9ad22fb910c445bcc2 /src/command | |
parent | 22064b3a280a373e40654007f85ed622b6ccaa6f (diff) | |
download | profani-tty-95686eb64281be4a7a2ac3371636161b5cf3dad2.tar.gz |
ox: add jid autocompletion for /ox request
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/cmd_ac.c | 5 |
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); |