summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/xmpp_component.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index d849884..2799a21 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -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");