From c1e6e9dd484beb02dbd22f1b5ee3f86e8ca4aa0a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 26 Jul 2018 22:55:51 +0300 Subject: mark threads read when banned replies exists --- juick-common/src/main/java/com/juick/service/MessagesService.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'juick-common') 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 getUnread(User user); } -- cgit v1.2.3