The default type for message stanza is "normal"
This commit is contained in:
@@ -335,7 +335,9 @@ void XmppComponent::handle_message(const Stanza& stanza)
|
|||||||
try {
|
try {
|
||||||
type = stanza["type"];
|
type = stanza["type"];
|
||||||
}
|
}
|
||||||
catch (const AttributeNotFound&) {}
|
catch (const AttributeNotFound&) {
|
||||||
|
type = "normal";
|
||||||
|
}
|
||||||
malformed_stanza_error.disable();
|
malformed_stanza_error.disable();
|
||||||
|
|
||||||
std::string error_type("cancel");
|
std::string error_type("cancel");
|
||||||
|
|||||||
Reference in New Issue
Block a user