mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01: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,
|
||||
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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user