From a161d5ecf96b3bb6f09da125dd3210ef8502a35d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 22 Dec 2015 17:30:08 +0300 Subject: fix push component properties --- src/main/java/com/juick/PushComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick') 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); } -- cgit v1.2.3