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/%22https:/nerdica.net/%22%7B%7D/static/readmes/README.es.md?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"));