mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Workaround for Psi's wrong Type in form submission
This commit is contained in:
parent
b0ae3d14aa
commit
633b467a22
@ -60,6 +60,8 @@ parse_xdata_submit(#xmlel{attrs = Attrs, children = Els}) ->
|
||||
case exmpp_xml:get_attribute_from_list_as_list(Attrs, 'type', "") of
|
||||
"submit" ->
|
||||
lists:reverse(parse_xdata_fields(Els, []));
|
||||
"form" -> %% This is a workaround to accept Psi's wrong forms
|
||||
lists:reverse(parse_xdata_fields(Els, []));
|
||||
_ ->
|
||||
invalid
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user