]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/activities/receive/comment.rs
Refactor activitypub code
[lemmy.git] / crates / apub / src / activities / receive / comment.rs
index bc1507931f06776bf342f189fb1cefe864fcc5bb..07f25eec746543924c70300b580cb429809c3b1f 100644 (file)
@@ -1,6 +1,6 @@
 use crate::{activities::receive::get_actor_as_user, objects::FromApub, ActorType, NoteExt};
 use activitystreams::{
-  activity::{ActorAndObjectRefExt, Create, Dislike, Like, Remove, Update},
+  activity::{ActorAndObjectRefExt, Create, Dislike, Like, Update},
   base::ExtendsExt,
 };
 use anyhow::Context;
@@ -221,7 +221,6 @@ pub(crate) async fn receive_delete_comment(
 
 pub(crate) async fn receive_remove_comment(
   context: &LemmyContext,
-  _remove: Remove,
   comment: Comment,
 ) -> Result<(), LemmyError> {
   let removed_comment = blocking(context.pool(), move |conn| {