fix: insert activities

this isnt enough but its something
This commit is contained in:
əlemi 2024-06-24 02:17:42 +02:00
parent f1287b1639
commit 8df27847ce
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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 new addressing rows with more recent dates
// or maybe create fake objects that reference the original one // or maybe create fake objects that reference the original one
// idk!!!! // idk!!!!
if actor.actor_type == apb::ActorType::Person || ctx.is_local(&actor.id) {
if ctx.is_local(&actor.id) {
ctx.insert_activity(activity, tx).await?; ctx.insert_activity(activity, tx).await?;
} }