diff options
Diffstat (limited to 'juick-server-core/src/main/java/com/juick')
-rw-r--r-- | juick-server-core/src/main/java/com/juick/service/TagService.java | 3 | ||||
-rw-r--r-- | juick-server-core/src/main/java/com/juick/service/TelegramService.java | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/juick-server-core/src/main/java/com/juick/service/TagService.java b/juick-server-core/src/main/java/com/juick/service/TagService.java index b59acd0b..e24cf928 100644 --- a/juick-server-core/src/main/java/com/juick/service/TagService.java +++ b/juick-server-core/src/main/java/com/juick/service/TagService.java @@ -18,6 +18,7 @@ package com.juick.service; import com.juick.Tag; +import com.juick.User; import com.juick.server.helpers.TagStats; import java.util.Collection; @@ -51,4 +52,6 @@ public interface TagService { List<TagStats> getMessageTags(int mid); List<Integer> getMessageTagsIDs(int mid); + + boolean blacklistTag(User user, Tag tag); } diff --git a/juick-server-core/src/main/java/com/juick/service/TelegramService.java b/juick-server-core/src/main/java/com/juick/service/TelegramService.java index 5bbcc40d..4c8ebc4b 100644 --- a/juick-server-core/src/main/java/com/juick/service/TelegramService.java +++ b/juick-server-core/src/main/java/com/juick/service/TelegramService.java @@ -17,6 +17,8 @@ package com.juick.service; +import com.juick.User; + import java.util.List; /** @@ -33,7 +35,5 @@ public interface TelegramService { boolean deleteTelegramUser(Integer uid); - List<Long> getSubscribers(int uid); - - List<Long> getSubscribersToComments(int mid, int ignore_uid); + List<Long> getTelegramIdentifiers(List<User> users); } |