diff options
author | Vitaly Takmazov | 2018-07-17 17:12:09 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-07-17 17:12:09 +0300 |
commit | 5abd765f074f982e40eff234af72c53a55412361 (patch) | |
tree | d5ed8f1ccd23039f4fe4eb723f1daa8bfd168667 /juick-server/src/main/java/com/juick/server | |
parent | 21cb79a38c791fe80714db5802c4753419c6b1cd (diff) |
XMPP: fix session configuration
Diffstat (limited to 'juick-server/src/main/java/com/juick/server')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/XMPPConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPConnection.java b/juick-server/src/main/java/com/juick/server/XMPPConnection.java index 509a0af5..8e26192c 100644 --- a/juick-server/src/main/java/com/juick/server/XMPPConnection.java +++ b/juick-server/src/main/java/com/juick/server/XMPPConnection.java @@ -125,7 +125,7 @@ public class XMPPConnection implements StanzaListener, NotificationListener { public void init() { logger.info("stream router start connecting to {}", componentPort); xmpp.addStanzaListener(this); - router = ExternalComponent.create(componentName, password, "localhost", componentPort); + router = ExternalComponent.create(componentName, password, session.getConfiguration(), "localhost", componentPort); EntityCapabilitiesManager entityCapabilitiesManager = router.getManager(EntityCapabilitiesManager.class); entityCapabilitiesManager.setNode("https://juick.com/caps"); MessageDeliveryReceiptsManager messageDeliveryReceiptsManager = router.getManager(MessageDeliveryReceiptsManager.class); |