diff --git a/src/jlib.erl b/src/jlib.erl index 5df54d6dd..ce2427fa1 100644 --- a/src/jlib.erl +++ b/src/jlib.erl @@ -407,16 +407,14 @@ iq_info_internal({xmlelement, Name, Attrs, Els}, Filter) when Name == "iq" -> [NonErrorEl] -> xml:get_tag_attr_s("xmlns", NonErrorEl); _ -> - invalid + "" end, FilteredEls}; _ -> - {invalid, []} + {"", []} end, if XMLNS == "", Class == request -> invalid; - XMLNS == invalid -> - invalid; true -> #iq{id = ID, type = Type1,