aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/http/www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-12-25 11:47:59 +0300
committerGravatar Vitaly Takmazov2015-12-25 11:47:59 +0300
commitfc6c4b0212d8f477ca54f512e7c1bbed29657283 (patch)
tree81588ef4c4fb7868835286b7034b09b76a3e7b46 /src/main/java/com/juick/http/www
parent3261ffc7f1c16e5fec374e54a7686772ebbfd92b (diff)
send comments to push component
Diffstat (limited to 'src/main/java/com/juick/http/www')
-rw-r--r--src/main/java/com/juick/http/www/NewMessage.java3
1 files changed, 3 insertions, 0 deletions
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);
}