From 70a50b2252ed313e3aee1a9ee2f33be8a46cb028 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 1 Mar 2018 19:18:03 +0300 Subject: sort discussions by last replay date --- .../src/main/java/com/juick/service/MessagesService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-server-core') 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 ee679ca4..b90cca79 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 @@ -64,7 +64,7 @@ public interface MessagesService { List getPrivate(int uid, int before); - List getDiscussions(int uid, int before); + List getDiscussions(int uid, Long to); List getRecommended(int uid, int before); @@ -88,7 +88,7 @@ public interface MessagesService { List getUserSearch(int UID, String search, int privacy, int before); - List getMessages(Collection mids); + List getMessages(List mids); List getReplies(int mid); -- cgit v1.2.3