diff options
Diffstat (limited to 'src/mod_muc/mod_muc_room.erl')
-rw-r--r-- | src/mod_muc/mod_muc_room.erl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index 56839d280..d46817737 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -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 |