diff options
author | Ugnich Anton | 2014-04-24 01:29:12 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-04-24 01:29:12 +0700 |
commit | 0b3c15851c0fbad3ee63cf0df298186a26d2a462 (patch) | |
tree | ef5a750def2821e8d56eae6563737e8773d12b50 /src/java/com/juick/http/www/Main.java | |
parent | 69453d196eb1dcc928c628c7ca32ba2f69ea22ea (diff) |
Recommendations
Diffstat (limited to 'src/java/com/juick/http/www/Main.java')
-rw-r--r-- | src/java/com/juick/http/www/Main.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/com/juick/http/www/Main.java b/src/java/com/juick/http/www/Main.java index 13506db7..ec7c4e1e 100644 --- a/src/java/com/juick/http/www/Main.java +++ b/src/java/com/juick/http/www/Main.java @@ -285,6 +285,13 @@ public class Main extends HttpServlet implements Stream.StreamListener { } else { response.sendError(403); } + } else if (uri.equals("/like")) { + com.juick.User visitor = Utils.getVisitorUser(sql, request, response); + if (visitor != null) { + pagesNewMessage.doPostRecomm(sql, request, response, xmpp, visitor); + } else { + response.sendError(403); + } } else if (uri.equals("/pm/send")) { com.juick.User visitor = Utils.getVisitorUser(sql, request, response); if (visitor != null) { |