aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-12-22 17:30:08 +0300
committerGravatar Vitaly Takmazov2015-12-22 17:30:08 +0300
commita161d5ecf96b3bb6f09da125dd3210ef8502a35d (patch)
tree422a0d8d3cc6593df070ef20d5a1eed1894e3c8f /src/main
parentf44198883b4bec5915e0246728b29d1afc539b9e (diff)
fix push component properties
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/PushComponent.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/PushComponent.java b/src/main/java/com/juick/PushComponent.java
index ab655791..cb2016cd 100644
--- a/src/main/java/com/juick/PushComponent.java
+++ b/src/main/java/com/juick/PushComponent.java
@@ -84,8 +84,8 @@ public class PushComponent implements ServletContextListener, Stream.StreamListe
setupSql(conf.getProperty("mysql_host"), conf.getProperty("mysql_username"),
conf.getProperty("mysql_password", ""), conf.getProperty("mysql_database", ""));
- setupXmppComponent(new JID("", conf.getProperty("xmpp_jid"), ""), conf.getProperty("xmpp_host", "localhost"),
- Integer.parseInt(conf.getProperty("xmpp_port", "5347")), conf.getProperty("xmpp_password", ""));
+ setupXmppComponent(new JID("", conf.getProperty("push_jid"), ""), conf.getProperty("xmpp_host", "localhost"),
+ Integer.parseInt(conf.getProperty("xmpp_port", "5347")), conf.getProperty("push_xmpp_password", ""));
} catch (IOException e) {
logger.log(Level.SEVERE, e.getMessage(), e);
}