diff options
author | 2018-03-22 12:51:44 +0300 | |
---|---|---|
committer | 2018-03-22 12:51:44 +0300 | |
commit | c7d73736fc0d22103c490d704858ad401568ba16 (patch) | |
tree | ae7e316b56d51b58f25c893bd699c357937aefb6 /juick-server/src/main/java/com/juick/server/XMPPBot.java | |
parent | 1cf7b254af24f4d06884278374b169650d6ad6ab (diff) |
server: ws.juick.com not receiving xmpp anymore
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/XMPPBot.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/XMPPBot.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPBot.java b/juick-server/src/main/java/com/juick/server/XMPPBot.java index f9cdf9c8..a3335596 100644 --- a/juick-server/src/main/java/com/juick/server/XMPPBot.java +++ b/juick-server/src/main/java/com/juick/server/XMPPBot.java @@ -261,8 +261,6 @@ public class XMPPBot implements StanzaListener, AutoCloseable { jmsg.setTo(userService.getUserByUID(uid_to).get()); jmsg.setText(msg.getBody()); m.addExtension(jmsg); - m.setTo(Jid.of(Integer.toString(uid_to), "ws.juick.com", null)); - router.sendStanza(m); List<String> jids; boolean inroster = false; @@ -400,8 +398,6 @@ public class XMPPBot implements StanzaListener, AutoCloseable { jmsg.setTo(user_to); jmsg.setText(body); msg.addExtension(jmsg); - msg.setTo(Jid.of(Integer.toString(user_to.getUid()), "ws.juick.com", null)); - router.sendStanza(msg); for (String userJid : jids_to) { Message mm = new Message(); |