aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-06-27 14:33:32 +0300
committerGravatar Vitaly Takmazov2016-06-27 14:33:32 +0300
commit3983a459e1756d21cdb2ca3811a99800ae1bf3b1 (patch)
tree0b2bb301d26aadec2db2ba65574cfbedd2361530 /src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java
parenteebe0a2c6c6d754c7efb68cc241f6bea896bea90 (diff)
quick s2s restore
Diffstat (limited to 'src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java')
-rw-r--r--src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java b/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java
index d0b3a93b..e68e030f 100644
--- a/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java
+++ b/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java
@@ -33,7 +33,7 @@ public class ConnectionRouter implements Stream.StreamListener,
logger.info("STREAM ROUTER START");
try {
socket = new Socket("localhost", 5347);
- router = new StreamComponent(new JID(componentName), socket.getInputStream(), socket.getOutputStream(), password);
+ router = new StreamComponent(new JID("s2s"), socket.getInputStream(), socket.getOutputStream(), password);
router.addChildParser(new JuickMessage());
router.addListener((Stream.StreamListener) this);
router.addListener((Message.MessageListener) this);