From 2ee206af7c885c10092cf209bf4a5b1d60327866 Mon Sep 17 00:00:00 2001 From: dull b Date: Tue, 4 Jul 2023 02:56:30 +0000 Subject: [PATCH] Revert "Fix apub::activities::block" This reverts commit 3b02389abd780a7b1b8a2c89e26febdaa6a12159. --- crates/apub/src/activities/block/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/apub/src/activities/block/mod.rs b/crates/apub/src/activities/block/mod.rs index e7b603455..6a152dda7 100644 --- a/crates/apub/src/activities/block/mod.rs +++ b/crates/apub/src/activities/block/mod.rs @@ -123,7 +123,7 @@ async fn generate_cc( mut conn: impl DbConn, ) -> Result, LemmyError> { Ok(match target { - SiteOrCommunity::Site(_) => Site::read_remote_sites(conn) + SiteOrCommunity::Site(_) => Site::read_remote_sites(&mut *conn) .await? .into_iter() .map(|s| s.actor_id.into())