Revert "Fix apub::activities::block"

This reverts commit 3b02389abd.
This commit is contained in:
dull b 2023-07-04 02:56:30 +00:00
parent 96ed8bf2e9
commit 2ee206af7c

View file

@ -123,7 +123,7 @@ async fn generate_cc(
mut conn: impl DbConn, mut conn: impl DbConn,
) -> Result<Vec<Url>, LemmyError> { ) -> Result<Vec<Url>, LemmyError> {
Ok(match target { Ok(match target {
SiteOrCommunity::Site(_) => Site::read_remote_sites(conn) SiteOrCommunity::Site(_) => Site::read_remote_sites(&mut *conn)
.await? .await?
.into_iter() .into_iter()
.map(|s| s.actor_id.into()) .map(|s| s.actor_id.into())