forked from alemi/upub
fix: your inbox contains posts by you
This commit is contained in:
parent
08b53bf416
commit
ab91a4c7bc
1 changed files with 4 additions and 1 deletions
|
@ -35,7 +35,10 @@ pub async fn page(
|
|||
|
||||
crate::server::builders::paginate(
|
||||
url!(ctx, "/users/{id}/inbox/page"),
|
||||
Condition::all().add(model::addressing::Column::Actor.eq(uid)),
|
||||
Condition::any()
|
||||
.add(model::addressing::Column::Actor.eq(uid))
|
||||
.add(model::object::Column::AttributedTo.eq(uid))
|
||||
.add(model::activity::Column::Actor.eq(uid)),
|
||||
ctx.db(),
|
||||
page,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue