diff options
Diffstat (limited to 'juick-server-core')
-rw-r--r-- | juick-server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java | 2 | ||||
-rw-r--r-- | juick-server-core/src/main/java/com/juick/service/MessagesService.java | 2 |
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); |