diff options
author | Vitaly Takmazov | 2016-07-06 13:34:50 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-06 13:34:50 +0300 |
commit | b1a59f7053e152aaed33964c271c944e1c9714c2 (patch) | |
tree | 52a54b40fb8e5620ba3728d81e27b6fb3736146d | |
parent | 2d7f61242de54b0c0670bac1953e45ee18d9ecec (diff) |
s2s: temporary use old component name
-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 443bfa82..a3604b8b 100644 --- a/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java +++ b/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java @@ -29,7 +29,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); |