]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/activities/comment/mod.rs
Consolidate reqwest clients, use reqwest-middleware for tracing
[lemmy.git] / crates / apub / src / activities / comment / mod.rs
index 29c2495260ffc475c82160c8e5bebee1696ce665..e26bdc06ad933f40df9621c84d44a9ed1936d573 100644 (file)
@@ -21,7 +21,9 @@ async fn get_notif_recipients(
 ) -> Result<Vec<LocalUserId>, LemmyError> {
   let post_id = comment.post_id;
   let post = blocking(context.pool(), move |conn| Post::read(conn, post_id)).await??;
-  let actor = actor.dereference(context, request_counter).await?;
+  let actor = actor
+    .dereference(context, context.client(), request_counter)
+    .await?;
 
   // Note:
   // Although mentions could be gotten from the post tags (they are included there), or the ccs,