aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-26 22:55:51 +0300
committerGravatar Vitaly Takmazov2018-07-26 22:55:51 +0300
commitc1e6e9dd484beb02dbd22f1b5ee3f86e8ca4aa0a (patch)
treedefd6758ee7209e85d4d7bf249a0b22514c498bc /juick-common/src/main
parent264bd16c937c48b2af77473944217496fae0aa3d (diff)
mark threads read when banned replies exists
Diffstat (limited to 'juick-common/src/main')
-rw-r--r--juick-common/src/main/java/com/juick/service/MessagesService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/service/MessagesService.java b/juick-common/src/main/java/com/juick/service/MessagesService.java
index 30719cc6..8e69872a 100644
--- a/juick-common/src/main/java/com/juick/service/MessagesService.java
+++ b/juick-common/src/main/java/com/juick/service/MessagesService.java
@@ -123,5 +123,7 @@ public interface MessagesService {
void setLastReadComment(User user, Integer mid, Integer rid);
+ void setRead(User user, Integer mid);
+
List<Integer> getUnread(User user);
}