fix: insert activities
this isnt enough but its something
This commit is contained in:
parent
f1287b1639
commit
8df27847ce
1 changed files with 1 additions and 2 deletions
|
@ -455,8 +455,7 @@ pub async fn announce(ctx: &crate::Context, activity: impl apb::Activity, tx: &D
|
|||
// or maybe create new addressing rows with more recent dates
|
||||
// or maybe create fake objects that reference the original one
|
||||
// idk!!!!
|
||||
|
||||
if ctx.is_local(&actor.id) {
|
||||
if actor.actor_type == apb::ActorType::Person || ctx.is_local(&actor.id) {
|
||||
ctx.insert_activity(activity, tx).await?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue