aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-17 17:12:09 +0300
committerGravatar Vitaly Takmazov2018-07-17 17:12:09 +0300
commit5abd765f074f982e40eff234af72c53a55412361 (patch)
treed5ed8f1ccd23039f4fe4eb723f1daa8bfd168667 /juick-server/src/main/java/com
parent21cb79a38c791fe80714db5802c4753419c6b1cd (diff)
XMPP: fix session configuration
Diffstat (limited to 'juick-server/src/main/java/com')
-rw-r--r--juick-server/src/main/java/com/juick/server/XMPPConnection.java2
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);