forked from alemi/upub
fix: outbox show announces basically
This commit is contained in:
parent
9967870ca2
commit
116d5f3f8c
1 changed files with 1 additions and 5 deletions
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue