From 49c4b7f3ccbd4e22f500ea2f46e520786d8a8ab1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 11 Sep 2017 21:00:02 +0300 Subject: no more recommended tab --- .../src/main/java/com/juick/server/protocol/JuickProtocol.java | 2 +- juick-server-core/src/main/java/com/juick/service/MessagesService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-server-core/src') 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 mids = messagesService.getMyFeed(user.getUid(), page); + List mids = messagesService.getMyFeed(user.getUid(), page, false); List 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 getPlace(int placeId, int visitorUid, int before); - List getMyFeed(int uid, int before); + List getMyFeed(int uid, int before, boolean recommended); List getPrivate(int uid, int before); -- cgit v1.2.3