mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Ignore any extra elements in voice approvement form submission
This commit is contained in:
parent
6708914e99
commit
6848d3affe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user