]> Untitled Git - lemmy.git/blobdiff - crates/api/src/comment.rs
Fixing liking comment on blocked person. Fixes #2033 (#2042)
[lemmy.git] / crates / api / src / comment.rs
index ac066227e08adf20d78aeed30e4cb45cb974fe47..64bb7310da3ab9e65e3b62f9e0c25749d7b47cd5 100644 (file)
@@ -6,7 +6,6 @@ use lemmy_api_common::{
   blocking,
   check_community_ban,
   check_downvotes_enabled,
-  check_person_block,
   comment::*,
   get_local_user_view_from_jwt,
 };
@@ -167,13 +166,6 @@ impl Perform for CreateCommentLike {
     )
     .await?;
 
-    check_person_block(
-      local_user_view.person.id,
-      orig_comment.get_recipient_id(),
-      context.pool(),
-    )
-    .await?;
-
     // Add parent user to recipients
     let recipient_id = orig_comment.get_recipient_id();
     if let Ok(local_recipient) = blocking(context.pool(), move |conn| {