diff options
author | James Booth <boothj5@gmail.com> | 2014-09-17 23:03:03 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-09-17 23:03:03 +0100 |
commit | fa7b6f30000d536f45125f677a0fc820ad758e11 (patch) | |
tree | 642c8edda453daf81157b8abf4b9cb70eda0d06e /src/xmpp | |
parent | e42a0847a2d59c5eba93e36ce7c6d1b7275dd621 (diff) | |
download | profani-tty-fa7b6f30000d536f45125f677a0fc820ad758e11.tar.gz |
Added autocompletion for form list-multi values
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/form.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/form.c b/src/xmpp/form.c index 3b37f204..21382e06 100644 --- a/src/xmpp/form.c +++ b/src/xmpp/form.c @@ -242,7 +242,7 @@ form_create(xmpp_stanza_t * const form_stanza) option->label = _get_attr(field_child, "label"); option->value = _get_property(field_child, "value"); - if (field->type_t == FIELD_LIST_SINGLE) { + if ((field->type_t == FIELD_LIST_SINGLE) || (field->type_t == FIELD_LIST_MULTI)) { autocomplete_add(field->value_ac, option->value); } |