mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-11 12:35:54 +00:00
Revert "Revert "Fix apub::activities::block""
This reverts commit 2ee206af7c
.
This commit is contained in:
parent
d74374b8fd
commit
017ffd7ef9
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue