From 16f98261f82423d8dc08c645f09ff5610c1e8707 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Fri, 21 Jan 2022 19:46:43 +0000 Subject: [PATCH] Dont check for ban in MarkCommentAsRead (fixes #2045) (#2054) --- crates/api/src/comment.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/api/src/comment.rs b/crates/api/src/comment.rs index 64bb7310d..bd8d3a8e9 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"));