From 399061eff089ab4e500d4338b4eea5b8099294ba Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 21 Mar 2024 01:24:55 +0100 Subject: [PATCH] fix: activity with embedded object, not user... --- src/activitypub/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/user.rs b/src/activitypub/user.rs index 7ffa64f..a80403a 100644 --- a/src/activitypub/user.rs +++ b/src/activitypub/user.rs @@ -44,7 +44,7 @@ pub async fn outbox( match activity::Entity::find() .filter(Condition::all().add(activity::Column::Published.lt(before))) - .find_also_related(user::Entity) + .find_also_related(object::Entity) .order_by(activity::Column::Published, Order::Desc) .limit(20) // TODO allow customizing, with boundaries .all(ctx.db()).await