diff options
author | Vitaly Takmazov | 2016-06-27 14:33:32 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-06-27 14:33:32 +0300 |
commit | 3983a459e1756d21cdb2ca3811a99800ae1bf3b1 (patch) | |
tree | 0b2bb301d26aadec2db2ba65574cfbedd2361530 /src/main/java/com | |
parent | eebe0a2c6c6d754c7efb68cc241f6bea896bea90 (diff) |
quick s2s restore
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java | 2 |
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); |