aboutsummaryrefslogtreecommitdiff
path: root/juick-common
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-04 15:12:45 +0300
committerGravatar Vitaly Takmazov2018-07-04 15:12:45 +0300
commite6356edd22ad8962a0dca7a0ca819f6b4de73f3b (patch)
tree9a7f6c0571df2ea29a8310e6ca11d90b4dcddac6 /juick-common
parent593b0bff6ddd6ff3756d7ee46d44defb12b0e982 (diff)
do not show replies to banned users as unread
Diffstat (limited to 'juick-common')
-rw-r--r--juick-common/src/main/java/com/juick/service/UserService.java3
1 files changed, 3 insertions, 0 deletions
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<Integer> checkBL(int visitor, Collection<Integer> uids);
boolean isSubscribed(int uid, int check);