From 017ffd7ef9c33c05b53333c113bca6bca972cb25 Mon Sep 17 00:00:00 2001 From: dull b Date: Tue, 4 Jul 2023 03:07:49 +0000 Subject: [PATCH] Revert "Revert "Fix apub::activities::block"" This reverts commit 2ee206af7c885c10092cf209bf4a5b1d60327866. --- 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 6a152dda7..e7b603455 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(&mut *conn) + SiteOrCommunity::Site(_) => Site::read_remote_sites(conn) .await? .into_iter() .map(|s| s.actor_id.into())