From e6356edd22ad8962a0dca7a0ca819f6b4de73f3b Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 4 Jul 2018 15:12:45 +0300 Subject: do not show replies to banned users as unread --- juick-common/src/main/java/com/juick/service/UserService.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'juick-common/src/main') diff --git a/juick-common/src/main/java/com/juick/service/UserService.java b/juick-common/src/main/java/com/juick/service/UserService.java index 115c7dfc..858a47be 100644 --- a/juick-common/src/main/java/com/juick/service/UserService.java +++ b/juick-common/src/main/java/com/juick/service/UserService.java @@ -17,6 +17,7 @@ package com.juick.service; +import com.juick.Message; import com.juick.User; import com.juick.server.helpers.Auth; import com.juick.server.helpers.UserInfo; @@ -90,6 +91,8 @@ public interface UserService { boolean isInBLAny(int uid, int uid2); + boolean isReplyToBL(final User user, final Message reply); + List checkBL(int visitor, Collection uids); boolean isSubscribed(int uid, int check); -- cgit v1.2.3