aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-10 15:36:32 +0300
committerGravatar Vitaly Takmazov2018-05-10 15:36:32 +0300
commita55e3a75241ff1313dcb9ece8e8d153b9a253649 (patch)
tree6a05c34c746e56fbb10a2e7eec28e0be48cc682f /juick-www/src/main/java
parentb642c55f053583533e23b1fc7fc5ac318fcbd7f0 (diff)
www: mark read over API
Diffstat (limited to 'juick-www/src/main/java')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/MessagesWWW.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/MessagesWWW.java b/juick-www/src/main/java/com/juick/www/controllers/MessagesWWW.java
index 033404b6..f416cb86 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/MessagesWWW.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/MessagesWWW.java
@@ -515,7 +515,6 @@ public class MessagesWWW {
if (!visitor.isAnonymous()) {
List<Integer> unread = messagesService.getUnread(visitor);
visitor.setUnreadCount(unread.size());
- applicationEventPublisher.publishEvent(new MessageReadEvent(this, visitor, msg));
boolean isMsgAuthor = visitor.getUid() == msg.getUser().getUid();
boolean isInBL = userService.isInBLAny(msg.getUser().getUid(), visitor.getUid());
msg.VisitorCanComment = isMsgAuthor || !(msg.ReadOnly || isInBL);