diff options
Diffstat (limited to 'juick-www/src/main/java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/NewMessage.java | 9 |
1 files changed, 0 insertions, 9 deletions
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 c9a1d572..8cf70291 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 @@ -156,9 +156,6 @@ public class NewMessage { xmsg.setTo(Jid.of("juick@ws.juick.com")); webApp.getXmpp().send(xmsg); - xmsg.setTo(Jid.of("juick@push.juick.com")); - webApp.getXmpp().send(xmsg); - xmsg.setTo(Jid.of("jubo@nologin.ru")); webApp.getXmpp().send(xmsg); } else { @@ -287,9 +284,6 @@ public class NewMessage { xmsg.setTo(Jid.of("juick@ws.juick.com")); webApp.getXmpp().send(xmsg); - - xmsg.setTo(Jid.of("juick@push.juick.com")); - webApp.getXmpp().send(xmsg); } else { logger.warn("XMPP unavailable"); } @@ -361,14 +355,11 @@ public class NewMessage { if (webApp.getXmpp() != null) { Message msg = new Message(); msg.setFrom(Jid.of("juick@juick.com")); - msg.setTo(Jid.of(String.format("%d@push.juick.com", userTo.getUid()))); com.juick.Message jmsg = new com.juick.Message(); jmsg.setUser(visitor); jmsg.setText(body); jmsg.setTo(userTo); msg.addExtension(jmsg); - webApp.getXmpp().send(msg); - msg.setTo(Jid.of(String.format("%d@ws.juick.com", userTo.getUid()))); webApp.getXmpp().send(msg); |