diff options
author | Vitaly Takmazov | 2015-12-25 11:47:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2015-12-25 11:47:59 +0300 |
commit | fc6c4b0212d8f477ca54f512e7c1bbed29657283 (patch) | |
tree | 81588ef4c4fb7868835286b7034b09b76a3e7b46 /src/main/java/com/juick/http/www/NewMessage.java | |
parent | 3261ffc7f1c16e5fec374e54a7686772ebbfd92b (diff) |
send comments to push component
Diffstat (limited to 'src/main/java/com/juick/http/www/NewMessage.java')
-rw-r--r-- | src/main/java/com/juick/http/www/NewMessage.java | 3 |
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); } |