Commit a992e281 authored by louiz’'s avatar louiz’

Connect to localhost instead of the served hostname

Because the XMPP component connection is only available locally, the XMPP
servers proably only listen on instead of
parent 0bb7ee01
......@@ -44,7 +44,7 @@ XmppComponent::~XmppComponent()
void XmppComponent::start()
this->connect(this->served_hostname, "5347");
this->connect("", "5347");
void XmppComponent::send_stanza(const Stanza& stanza)
......@@ -60,7 +60,7 @@ void XmppComponent::on_connected()
XmlNode node("stream:stream", nullptr);
node["xmlns"] = COMPONENT_NS;
node["xmlns:stream"] = STREAM_NS;
node["to"] = "irc.abricot";
node["to"] = this->served_hostname;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment