The default type for message stanza is "normal"
1 files changed, 3 insertions(+), 1 deletions(-) M src/xmpp/xmpp_component.cpp
M src/xmpp/xmpp_component.cpp => src/xmpp/xmpp_component.cpp +3 -1
@@ 335,7 335,9 @@ void XmppComponent::handle_message(const Stanza& stanza) try { type = stanza["type"]; } - catch (const AttributeNotFound&) {} + catch (const AttributeNotFound&) { + type = "normal"; + } malformed_stanza_error.disable(); std::string error_type("cancel");