aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-11-13 15:23:06 +0300
committerGravatar Vitaly Takmazov2017-11-13 15:23:06 +0300
commitfc77902b14c16e7c911a0f2fe6a73e69b252f699 (patch)
tree4e86783db9b588af9f98a8a3e56a48be7a6d53a5 /juick-server-core
parent4f32ea8c6889be56861a290e633a89c5b6740e3a (diff)
notifications: moved top service from cron
Diffstat (limited to 'juick-server-core')
-rw-r--r--juick-server-core/src/main/java/com/juick/service/MessagesService.java2
1 files changed, 2 insertions, 0 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 870a7249..c5ef13e0 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
@@ -103,4 +103,6 @@ public interface MessagesService {
List<ResponseReply> getLastReplies(int hours);
List<com.juick.Message> getNotifications(User user, LocalDateTime before);
+
+ List<Integer> getPopularCandidates();
}