diff options
author | 2015-12-29 00:02:06 +0300 | |
---|---|---|
committer | 2015-12-29 00:02:06 +0300 | |
commit | 6931eaa44ef4c67bdc1117864fc3a73c77111dea (patch) | |
tree | 2821f02b7c37ed49ab239b0a2de6cd8c28b64fd4 /src/main/java/com/juick/http/www | |
parent | 3f4e61dbaf6419c1b37e7eed909ff88500ed3427 (diff) | |
parent | 090ed02d699b786e80cb61e2b956c9b43e59d6db (diff) |
Merge branch 'develop' of ssh://den.jabber.ru:2205/var/lib/git/com.juick.http.www into develop
Diffstat (limited to 'src/main/java/com/juick/http/www')
-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 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); } 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("<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>"); |