From: Nutomic Date: Fri, 21 Jan 2022 19:46:43 +0000 (+0000) Subject: Dont check for ban in MarkCommentAsRead (fixes #2045) (#2054) X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%24%7B%60data:application/static/%7B%60https:/%7BpictrsAvatarThumbnail%28community.icon%29%7D?a=commitdiff_plain;h=16f98261f82423d8dc08c645f09ff5610c1e8707;p=lemmy.git Dont check for ban in MarkCommentAsRead (fixes #2045) (#2054) --- diff --git a/crates/api/src/comment.rs b/crates/api/src/comment.rs index 64bb7310..bd8d3a8e 100644 --- a/crates/api/src/comment.rs +++ b/crates/api/src/comment.rs @@ -47,13 +47,6 @@ impl Perform for MarkCommentAsRead { }) .await??; - check_community_ban( - local_user_view.person.id, - orig_comment.community.id, - context.pool(), - ) - .await?; - // Verify that only the recipient can mark as read if local_user_view.person.id != orig_comment.get_recipient_id() { return Err(LemmyError::from_message("no_comment_edit_allowed"));