diff options
author | Vitaly Takmazov | 2018-02-22 11:00:29 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-02-22 11:00:29 +0300 |
commit | 48a66b5497c85b0e4bac7787168ca9c6e989d1ed (patch) | |
tree | cb28862eeda0f2a92eb3ee259bbc4f9c8f5b3031 /juick-www/src/main/java | |
parent | 0a47022611e9ade7b4cf04e8d2783e966610e136 (diff) |
www: do not show reply button in banned user threads
Diffstat (limited to 'juick-www/src/main/java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/Messages.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/Messages.java b/juick-www/src/main/java/com/juick/www/controllers/Messages.java index 3c938850..e74f7486 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/Messages.java +++ b/juick-www/src/main/java/com/juick/www/controllers/Messages.java @@ -614,7 +614,7 @@ public class Messages { boolean isMsgAuthor = visitor.getUid() == msg.getUser().getUid(); boolean isReplyAuthor = visitor.getUid() == reply.getUser().getUid(); reply.VisitorCanComment = isMsgAuthor || (!msg.ReadOnly - && (isReplyAuthor || !userService.isInBLAny(visitor.getUid(), reply.getUser().getUid()))); + && msg.VisitorCanComment && (isReplyAuthor || !userService.isInBLAny(visitor.getUid(), reply.getUser().getUid()))); } } |