24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-22 22:23:42 +02:00

Ignore any extra elements in voice approvement form submission

This commit is contained in:
Maxim Ignatenko 2011-07-31 22:48:56 +03:00
parent 6708914e99
commit 6848d3affe

View File

@ -3852,9 +3852,13 @@ check_voice_approvement_fields({xmlelement, "field", Attrs, Els}, Acc) ->
true;
"1" ->
true
end
end;
_ ->
true % ignore unknown fields
end
end.
end;
check_voice_approvement_fields({xmlelement, _, _, _}, _) ->
true.
extract_jid_from_voice_approvement(Els) ->
try