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"),
Condition::all()
.add(auth.filter_activities())
.add(
Condition::any()
.add(model::activity::Column::Actor.eq(&uid))
.add(model::object::Column::AttributedTo.eq(&uid))
),
.add(model::activity::Column::Actor.eq(&uid)),
ctx.db(),
page,
auth.my_id(),