fix: relay follow/accept are public

This commit is contained in:
əlemi 2024-04-23 16:54:03 +02:00
parent 2a9cf5bcf5
commit 8a6c05f4fb
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -143,7 +143,7 @@ async fn main() {
model::activity::Entity::insert(activity_model.into_active_model())
.exec(ctx.db()).await.expect("could not insert activity in db");
ctx.dispatch(&ctx.base(), vec![actor], &aid, None).await
ctx.dispatch(&ctx.base(), vec![actor, apb::target::PUBLIC.to_string()], &aid, None).await
.expect("could not dispatch relay activity");
},