diff options
author | Vitaly Takmazov | 2018-03-22 12:51:44 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-22 12:51:44 +0300 |
commit | c7d73736fc0d22103c490d704858ad401568ba16 (patch) | |
tree | ae7e316b56d51b58f25c893bd699c357937aefb6 /juick-server/src/main/java/com/juick/server/api | |
parent | 1cf7b254af24f4d06884278374b169650d6ad6ab (diff) |
server: ws.juick.com not receiving xmpp anymore
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/PM.java | 2 | ||||
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/Post.java | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/PM.java b/juick-server/src/main/java/com/juick/server/api/PM.java index 15bd8b5b..6797c7fd 100644 --- a/juick-server/src/main/java/com/juick/server/api/PM.java +++ b/juick-server/src/main/java/com/juick/server/api/PM.java @@ -97,8 +97,6 @@ public class PM { jmsg.setText(body); jmsg.setTo(userTo); msg.addExtension(jmsg); - msg.setTo(Jid.of(String.format("%d@ws.juick.com", userTo.getUid()))); - serverManager.sendMessage(msg); List<String> jids = userService.getJIDsbyUID(userTo.getUid()); for (String jid : jids) { diff --git a/juick-server/src/main/java/com/juick/server/api/Post.java b/juick-server/src/main/java/com/juick/server/api/Post.java index 4405c889..e09de900 100644 --- a/juick-server/src/main/java/com/juick/server/api/Post.java +++ b/juick-server/src/main/java/com/juick/server/api/Post.java @@ -202,9 +202,6 @@ public class Post { xmsg.setTo(Jid.of("juick@s2s.juick.com")); serverManager.sendMessage(xmsg); - xmsg.setTo(Jid.of("juick@ws.juick.com")); - serverManager.sendMessage(xmsg); - return jmsg; } |