aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/xmpp
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-06 13:34:50 +0300
committerGravatar Vitaly Takmazov2016-07-06 13:34:50 +0300
commitb1a59f7053e152aaed33964c271c944e1c9714c2 (patch)
tree52a54b40fb8e5620ba3728d81e27b6fb3736146d /src/main/java/com/juick/xmpp
parent2d7f61242de54b0c0670bac1953e45ee18d9ecec (diff)
s2s: temporary use old component name
Diffstat (limited to 'src/main/java/com/juick/xmpp')
-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 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);