Fix apub::activities::block

pull/3420/head
dull b 2023-07-04 02:17:07 +00:00
parent 7dc73de613
commit 3b02389abd
1 changed files with 1 additions and 1 deletions

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(&mut *conn) SiteOrCommunity::Site(_) => Site::read_remote_sites(conn)
.await? .await?
.into_iter() .into_iter()
.map(|s| s.actor_id.into()) .map(|s| s.actor_id.into())