aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/xmpp/s2s
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-02-07 22:56:40 +0300
committerGravatar Vitaly Takmazov2016-02-07 22:56:40 +0300
commitfb999f130fc5592e924c39ca2e251cfa03575427 (patch)
treef475d5203c24dbc4d1091a59be83cf7479d9b545 /src/main/java/com/juick/xmpp/s2s
parent35ae74603abe9569554f31d426b54bfc8c680d42 (diff)
parentec0e62c6ce7233aaa7b77d619637a501ea11a2b1 (diff)
Merge branch 'sans_branch' into develop
Diffstat (limited to 'src/main/java/com/juick/xmpp/s2s')
-rw-r--r--src/main/java/com/juick/xmpp/s2s/S2SComponent.java4
1 files changed, 2 insertions, 2 deletions
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();