aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-09-11 21:00:02 +0300
committerGravatar Vitaly Takmazov2017-09-11 21:01:55 +0300
commit49c4b7f3ccbd4e22f500ea2f46e520786d8a8ab1 (patch)
tree2443c30e860c8df691db8358547462377da94b2f /juick-server-core/src/main/java
parente49843282fec85ac29a4b83ab384ab7bc1c6ae1f (diff)
no more recommended tab
Diffstat (limited to 'juick-server-core/src/main/java')
-rw-r--r--juick-server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java2
-rw-r--r--juick-server-core/src/main/java/com/juick/service/MessagesService.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/juick-server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java b/juick-server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java
index d2d7e1c2..1d5b8dbf 100644
--- a/juick-server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java
+++ b/juick-server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java
@@ -271,7 +271,7 @@ public class JuickProtocol {
public String commandMyFeed(User user, String... arguments) {
// number of # is the page count
int page = arguments[0].length() - 1;
- List<Integer> mids = messagesService.getMyFeed(user.getUid(), page);
+ List<Integer> mids = messagesService.getMyFeed(user.getUid(), page, false);
List<Message> messages = messagesService.getMessages(mids);
// TODO: add instructions for empty feed
return "Your feed: \n" + String.join("\n",
diff --git a/juick-server-core/src/main/java/com/juick/service/MessagesService.java b/juick-server-core/src/main/java/com/juick/service/MessagesService.java
index 6b3d6a53..0644dd99 100644
--- a/juick-server-core/src/main/java/com/juick/service/MessagesService.java
+++ b/juick-server-core/src/main/java/com/juick/service/MessagesService.java
@@ -59,7 +59,7 @@ public interface MessagesService {
List<Integer> getPlace(int placeId, int visitorUid, int before);
- List<Integer> getMyFeed(int uid, int before);
+ List<Integer> getMyFeed(int uid, int before, boolean recommended);
List<Integer> getPrivate(int uid, int before);