From c7d73736fc0d22103c490d704858ad401568ba16 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 22 Mar 2018 12:51:44 +0300 Subject: server: ws.juick.com not receiving xmpp anymore --- juick-server/src/main/java/com/juick/server/api/PM.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'juick-server/src/main/java/com/juick/server/api/PM.java') 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 jids = userService.getJIDsbyUID(userTo.getUid()); for (String jid : jids) { -- cgit v1.2.3