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 From 090ed02d699b786e80cb61e2b956c9b43e59d6db Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 25 Dec 2015 13:21:27 +0300 Subject: remove siam.li --- src/main/java/com/juick/http/www/PageTemplates.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/main/java/com/juick/http/www') diff --git a/src/main/java/com/juick/http/www/PageTemplates.java b/src/main/java/com/juick/http/www/PageTemplates.java index 08926fa9..2b041cb2 100644 --- a/src/main/java/com/juick/http/www/PageTemplates.java +++ b/src/main/java/com/juick/http/www/PageTemplates.java @@ -238,9 +238,6 @@ public class PageTemplates { out.print("
Спонсоры: " + links); } } - if ((visitor == null || visitor.UID == 1) && queryString != null && requestURI != null && requestURI.equals("/")) { - out.print("
сиам"); - } out.println(""); out.println(""); -- cgit v1.2.3