fix: relay follow/accept are public
This commit is contained in:
parent
2a9cf5bcf5
commit
8a6c05f4fb
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ async fn main() {
|
||||||
model::activity::Entity::insert(activity_model.into_active_model())
|
model::activity::Entity::insert(activity_model.into_active_model())
|
||||||
.exec(ctx.db()).await.expect("could not insert activity in db");
|
.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");
|
.expect("could not dispatch relay activity");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue