summaryrefslogtreecommitdiff
path: root/louloulibs/xmpp
diff options
context:
space:
mode:
authorStuart Mumford <stuart@cadair.com>2015-12-11 15:19:40 +0000
committerFlorent Le Coz <louiz@louiz.org>2015-12-13 21:04:07 +0100
commit8ddbe8d3e6a5a5001537379aa4f1a418c6cb6d23 (patch)
tree12a9ccb4b12ecd6888a94659e5ff831ef4123195 /louloulibs/xmpp
parent1f6eea62f46789c0d3ebe7da133ccad2e59c89c8 (diff)
downloadbiboumi-8ddbe8d3e6a5a5001537379aa4f1a418c6cb6d23.tar.gz
biboumi-8ddbe8d3e6a5a5001537379aa4f1a418c6cb6d23.tar.bz2
biboumi-8ddbe8d3e6a5a5001537379aa4f1a418c6cb6d23.tar.xz
biboumi-8ddbe8d3e6a5a5001537379aa4f1a418c6cb6d23.zip
Make the XMPP server address configurable.
fix #3145
Diffstat (limited to 'louloulibs/xmpp')
-rw-r--r--louloulibs/xmpp/xmpp_component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/louloulibs/xmpp/xmpp_component.cpp b/louloulibs/xmpp/xmpp_component.cpp
index 3017c0b..ce9552f 100644
--- a/louloulibs/xmpp/xmpp_component.cpp
+++ b/louloulibs/xmpp/xmpp_component.cpp
@@ -61,7 +61,7 @@ XmppComponent::XmppComponent(std::shared_ptr<Poller> poller, const std::string&
void XmppComponent::start()
{
- this->connect("127.0.0.1", Config::get("port", "5347"), false);
+ this->connect(Config::get("xmpp_server_ip", "127.0.0.1"), Config::get("port", "5347"), false);
}
bool XmppComponent::is_document_open() const