diff options
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/command.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c index 68df1cc7..536ce854 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -2159,6 +2159,14 @@ _form_autocomplete(char *input, int *size) } // handle text-multi (remove) + if ((g_strcmp0(args[0], "remove") == 0) && field_type == FIELD_TEXT_MULTI) { + Autocomplete ac = form_get_value_ac(form, tag); + found = autocomplete_param_with_ac(input, size, beginning->str, ac, TRUE); + g_string_free(beginning, TRUE); + if (found != NULL) { + return found; + } + } // handle jid-multi (remove) } |