Commit 8ddbe8d3 authored by Stuart Mumford's avatar Stuart Mumford Committed by louiz’
Browse files

Make the XMPP server address configurable.

fix #3145
parent 1f6eea62
......@@ -47,6 +47,12 @@ The configuration file uses a simple format of the form
This password must be configured in the XMPP server, associated with the
external component on *hostname*.
The IP address to connect to the XMPP server on. The connection to the XMPP
server is unencrypted, so the biboumi instance and the server should normally
be on the same host. The default value is
The TCP port to use to connect to the local XMPP component. The default
......@@ -61,7 +61,7 @@ XmppComponent::XmppComponent(std::shared_ptr<Poller> poller, const std::string&
void XmppComponent::start()
this->connect("", Config::get("port", "5347"), false);
this->connect(Config::get("xmpp_server_ip", ""), Config::get("port", "5347"), false);
bool XmppComponent::is_document_open() const
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