aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/MessagesService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/service/MessagesService.java')
-rw-r--r--src/main/java/com/juick/service/MessagesService.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/juick/service/MessagesService.java b/src/main/java/com/juick/service/MessagesService.java
index 5e3a1e83..188a81c0 100644
--- a/src/main/java/com/juick/service/MessagesService.java
+++ b/src/main/java/com/juick/service/MessagesService.java
@@ -83,6 +83,12 @@ public interface MessagesService {
List<Integer> getDiscussions(int uid, Long to);
+ /**
+ * Get messages recommended by friends
+ * @param uid visitor id
+ * @param before
+ * @return recommended message ids
+ */
List<Integer> getRecommended(int uid, int before);
List<Integer> getPhotos(int visitorUid, int before);