mirror of https://github.com/LemmyNet/lemmy.git
Dont check for ban in MarkCommentAsRead (fixes #2045)
parent
16271b0a4c
commit
0955d970e5
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue