diff options
author | Vitaly Takmazov | 2018-03-01 19:18:03 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-01 19:49:10 +0300 |
commit | 70a50b2252ed313e3aee1a9ee2f33be8a46cb028 (patch) | |
tree | cf1f15f826ef21f2f431e242b9db50b9bcbf3dbf /juick-server-core/src/main/java | |
parent | f92fb49bfab851d6de2480cf0359920516bfe050 (diff) |
sort discussions by last replay date
Diffstat (limited to 'juick-server-core/src/main/java')
-rw-r--r-- | juick-server-core/src/main/java/com/juick/service/MessagesService.java | 4 |
1 files changed, 2 insertions, 2 deletions
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<Integer> getPrivate(int uid, int before); - List<Integer> getDiscussions(int uid, int before); + List<Integer> getDiscussions(int uid, Long to); List<Integer> getRecommended(int uid, int before); @@ -88,7 +88,7 @@ public interface MessagesService { List<Integer> getUserSearch(int UID, String search, int privacy, int before); - List<com.juick.Message> getMessages(Collection<Integer> mids); + List<com.juick.Message> getMessages(List<Integer> mids); List<com.juick.Message> getReplies(int mid); |