mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix exception handling in is_voice_request/1
This commit is contained in:
parent
30d89abf66
commit
44987479a5
@ -3647,7 +3647,7 @@ is_voice_request(Els) ->
|
||||
end
|
||||
end
|
||||
catch
|
||||
_ ->
|
||||
error: _ ->
|
||||
false
|
||||
end.
|
||||
|
||||
@ -3671,7 +3671,7 @@ check_voice_request_fields({xmlelement, "field", _, Els} = Elem, Acc) ->
|
||||
end
|
||||
end
|
||||
catch
|
||||
_ ->
|
||||
error: _ ->
|
||||
false
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user