From fc6c4b0212d8f477ca54f512e7c1bbed29657283 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 25 Dec 2015 11:47:59 +0300 Subject: send comments to push component --- src/main/java/com/juick/http/www/NewMessage.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/com/juick/http/www') diff --git a/src/main/java/com/juick/http/www/NewMessage.java b/src/main/java/com/juick/http/www/NewMessage.java index 4d31ee14..3cf73882 100644 --- a/src/main/java/com/juick/http/www/NewMessage.java +++ b/src/main/java/com/juick/http/www/NewMessage.java @@ -379,6 +379,9 @@ public class NewMessage { xmsg.to.Host = "ws.juick.com"; xmpp.send(xmsg); + xmsg.to.Host = "push.juick.com"; + xmpp.send(xmsg); + Utils.sendTemporaryRedirect(response, "/" + msg.User.UName + "/" + mid + "#" + ridnew); } -- cgit v1.2.3