fix: outbox show announces basically

This commit is contained in:
əlemi 2024-06-10 04:57:40 +02:00
parent 9967870ca2
commit 116d5f3f8c
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -23,11 +23,7 @@ pub async fn page(
upub::url!(ctx, "/actors/{id}/outbox/page"), upub::url!(ctx, "/actors/{id}/outbox/page"),
Condition::all() Condition::all()
.add(auth.filter_activities()) .add(auth.filter_activities())
.add( .add(model::activity::Column::Actor.eq(&uid)),
Condition::any()
.add(model::activity::Column::Actor.eq(&uid))
.add(model::object::Column::AttributedTo.eq(&uid))
),
ctx.db(), ctx.db(),
page, page,
auth.my_id(), auth.my_id(),