forked from alemi/upub
fix: actor outbox should include viewed posts
This commit is contained in:
parent
54e6b517e2
commit
37a812f3c6
1 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,10 @@ 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(model::activity::Column::Actor.eq(&uid)),
|
.add(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