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-www/src/main/java/com/juick/www/controllers/NewMessage.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'juick-www/src/main/java') diff --git a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java index 531babd2..2669c5ec 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java +++ b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java @@ -157,9 +157,6 @@ public class NewMessage { xmsg.setTo(Jid.of("juick@s2s.juick.com")); xmpp.send(xmsg); - xmsg.setTo(Jid.of("juick@ws.juick.com")); - xmpp.send(xmsg); - xmsg.setTo(Jid.of("jubo@nologin.ru")); xmpp.send(xmsg); } else { @@ -285,9 +282,6 @@ public class NewMessage { xmsg.setTo(Jid.of("juick@s2s.juick.com")); xmpp.send(xmsg); - - xmsg.setTo(Jid.of("juick@ws.juick.com")); - xmpp.send(xmsg); } else { logger.warn("XMPP unavailable"); } @@ -363,8 +357,6 @@ public class NewMessage { jmsg.setText(body); jmsg.setTo(userTo); msg.addExtension(jmsg); - msg.setTo(Jid.of(String.format("%d@ws.juick.com", userTo.getUid()))); - xmpp.send(msg); List jids = userService.getJIDsbyUID(userTo.getUid()); for (String jid : jids) { -- cgit v1.2.3