diff options
Diffstat (limited to 'src/main/java/com/juick/http')
-rw-r--r-- | src/main/java/com/juick/http/www/NewMessage.java | 3 | ||||
-rw-r--r-- | src/main/java/com/juick/http/www/PageTemplates.java | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/juick/http/www/NewMessage.java b/src/main/java/com/juick/http/www/NewMessage.java index 4d31ee142..3cf73882c 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); } diff --git a/src/main/java/com/juick/http/www/PageTemplates.java b/src/main/java/com/juick/http/www/PageTemplates.java index 08926fa9b..2b041cb2f 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("<br/>Спонсоры: " + links); } } - if ((visitor == null || visitor.UID == 1) && queryString != null && requestURI != null && requestURI.equals("/")) { - out.print("<br/><a href=\"http://siam.li/\">сиам</a>"); - } out.println("</div>"); out.println("</div>"); |