diff --git a/src/activitypub/user.rs b/src/activitypub/user.rs index 7ffa64f5..a80403a2 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