diff options
author | Vitaly Takmazov | 2016-02-01 20:11:37 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-02-01 20:11:37 +0300 |
commit | eca85d4f4af0a3519acc8c82865127e7b558dbb5 (patch) | |
tree | 412c55f606a688f56db3979537a55fa2a5b2538c /src/main/java/com/juick/xmpp/s2s | |
parent | 1cb765a2f7cfae74fb99f85e74654d5d11bcd345 (diff) |
undo fix component name
Diffstat (limited to 'src/main/java/com/juick/xmpp/s2s')
-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 2532a6005..4634ca99b 100644 --- a/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java +++ b/src/main/java/com/juick/xmpp/s2s/ConnectionRouter.java @@ -48,7 +48,7 @@ public class ConnectionRouter extends Connection implements Runnable { parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); writer = new OutputStreamWriter(Channels.newOutputStream(client)); - String msg = "<stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='" + componentName + "'>"; + String msg = "<stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='s2s'>"; writer.write(msg); writer.flush(); |