diff options
author | Vitaly Takmazov | 2015-10-24 21:41:43 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2015-10-24 21:41:43 +0300 |
commit | bd489f0adacb1fcd04c4ae62f5b7f5cae0d64722 (patch) | |
tree | 1decf4c7d319c18dbfb8096bf98872b4d644c7af /src/main/java/com/juick/http/www/Home.java | |
parent | a8586b615707fe0bae22dd535771c87e7befb9cc (diff) |
photos
Diffstat (limited to 'src/main/java/com/juick/http/www/Home.java')
-rw-r--r-- | src/main/java/com/juick/http/www/Home.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/juick/http/www/Home.java b/src/main/java/com/juick/http/www/Home.java index 52012182..27a63574 100644 --- a/src/main/java/com/juick/http/www/Home.java +++ b/src/main/java/com/juick/http/www/Home.java @@ -78,6 +78,9 @@ public class Home { } else if (paramShow.equals("recommended") && visitor != null) { title = "Рекомендации"; mids = MessagesQueries.getRecommended(sql, visitor.UID, paramBefore); + } else if (paramShow.equals("photos") && visitor != null) { + title = "Фотографии"; + mids = MessagesQueries.getPhotos(sql, visitor.UID, paramBefore); } else if (paramShow.equals("all")) { title = "Все сообщения"; if (visitor != null) { |