From ec0e62c6ce7233aaa7b77d619637a501ea11a2b1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 7 Feb 2016 22:55:25 +0300 Subject: hotfixes --- src/main/java/com/juick/xmpp/s2s/S2SComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick/xmpp/s2s/S2SComponent.java') diff --git a/src/main/java/com/juick/xmpp/s2s/S2SComponent.java b/src/main/java/com/juick/xmpp/s2s/S2SComponent.java index b7155643..4a4d3413 100644 --- a/src/main/java/com/juick/xmpp/s2s/S2SComponent.java +++ b/src/main/java/com/juick/xmpp/s2s/S2SComponent.java @@ -151,8 +151,8 @@ public class S2SComponent implements JuickComponent { public S2SComponent(JuickApplication application, Properties conf) { LOGGER.info("component initialized"); - HOSTNAME = conf.getProperty("hostname"); - componentName = conf.getProperty("componentname"); + HOSTNAME = conf.getProperty("hostname", "juick.com"); + componentName = conf.getProperty("componentname", "s2s"); STATSFILE = conf.getProperty("statsfile"); this.sql = application.getSql(); this.executorService = application.getExecutorService(); -- cgit v1.2.3