summaryrefslogtreecommitdiff
path: root/louloulibs/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-14 18:20:57 +0100
committerlouiz’ <louiz@louiz.org>2016-12-14 18:20:57 +0100
commitf512c9c666b2c629e8b9af29ec65c534e536e749 (patch)
treef8fd1c774c95d4f2ce787cff79971e51d471295f /louloulibs/xmpp
parentca8618941240545f76fd8ec32e7acb31226ab2d6 (diff)
downloadbiboumi-f512c9c666b2c629e8b9af29ec65c534e536e749.tar.gz
biboumi-f512c9c666b2c629e8b9af29ec65c534e536e749.tar.bz2
biboumi-f512c9c666b2c629e8b9af29ec65c534e536e749.tar.xz
biboumi-f512c9c666b2c629e8b9af29ec65c534e536e749.zip
e2e: test connection failure
Diffstat (limited to 'louloulibs/xmpp')
-rw-r--r--louloulibs/xmpp/xmpp_component.cpp1
1 files changed, 1 insertions, 0 deletions
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;