diff options
author | 2018-01-30 12:50:35 +0300 | |
---|---|---|
committer | 2018-01-30 12:50:35 +0300 | |
commit | 9c22987d6309b91fbe41bd47e410b1f809144c41 (patch) | |
tree | d5420f68f12e5d85c997fcb5a2bd90272369fc15 /juick-xmpp/src/main/java/com/juick/components/XMPPServer.java | |
parent | 7ed10201d5e81c405e93bd8904d221652b0bc7fd (diff) |
xmpp: fix dialback
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components/XMPPServer.java')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/XMPPServer.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java index 4b3470a7..15e2ba46 100644 --- a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java +++ b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java @@ -256,6 +256,8 @@ public class XMPPServer implements ConnectionListener, AutoCloseable { try { Socket socket = new Socket(); socket.connect(DNSQueries.getServerAddress(to)); + connectionOut.setInputStream(socket.getInputStream()); + connectionOut.setOutputStream(socket.getOutputStream()); addConnectionOut(connectionOut, Optional.of(socket)); connectionOut.addChildParser(new JuickMessage()); connectionOut.connect(); |