mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-14 22:00:16 +02:00
Use 'list-multi' type for XEP-0157 xdata fields
Thanks to Jonas Wielicki for spotting this
This commit is contained in:
parent
3b9e6eaa95
commit
52b8226671
|
@ -430,7 +430,9 @@ get_fields(Host, Module) ->
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
Fields),
|
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()) -> [].
|
-spec depends(binary(), gen_mod:opts()) -> [].
|
||||||
depends(_Host, _Opts) ->
|
depends(_Host, _Opts) ->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user