~singpolyma/biboumi

65601a96d20d4ce010723df3a059ee5a9713fae7 — Florent Le Coz 10 years ago e971f64
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");