25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Use 'list-multi' type for XEP-0157 xdata fields

Thanks to Jonas Wielicki for spotting this
This commit is contained in:
Evgeniy Khramtsov 2018-05-29 19:37:24 +03:00
parent 3b9e6eaa95
commit 52b8226671

View File

@ -430,7 +430,9 @@ get_fields(Host, Module) ->
end
end,
Fields),
[#xdata_field{var = Var, values = Values} || {_, Var, Values} <- Fields1].
[#xdata_field{var = Var,
type = 'list-multi',
values = Values} || {_, Var, Values} <- Fields1].
-spec depends(binary(), gen_mod:opts()) -> [].
depends(_Host, _Opts) ->