From f512c9c666b2c629e8b9af29ec65c534e536e749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 14 Dec 2016 18:20:57 +0100 Subject: e2e: test connection failure --- louloulibs/xmpp/xmpp_component.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'louloulibs/xmpp') diff --git a/louloulibs/xmpp/xmpp_component.cpp b/louloulibs/xmpp/xmpp_component.cpp index cbd80c4..f0b0de7 100644 --- a/louloulibs/xmpp/xmpp_component.cpp +++ b/louloulibs/xmpp/xmpp_component.cpp @@ -541,6 +541,7 @@ void XmppComponent::send_presence_error(const std::string& muc_name, XmlNode text_node("text"); text_node["xmlns"] = STANZA_NS; text_node.set_inner(text); + error.add_child(std::move(text_node)); } if (!error_code.empty()) error["code"] = error_code; -- cgit v1.2.3