From e18bf6e95591f2bf8e81b6f73e90006eba08ee61 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 10 Dec 2024 22:47:44 +0100 Subject: [PATCH] fix: show activities by self --- upub/routes/src/auth.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upub/routes/src/auth.rs b/upub/routes/src/auth.rs index dcea7d2..70ed8ca 100644 --- a/upub/routes/src/auth.rs +++ b/upub/routes/src/auth.rs @@ -27,7 +27,8 @@ impl Identity { Identity::Remote { internal, .. } => base_cond.add(upub::model::addressing::Column::Instance.eq(*internal)), Identity::Local { internal, id } => base_cond .add(upub::model::addressing::Column::Actor.eq(*internal)) - .add(upub::model::object::Column::AttributedTo.eq(id)), + .add(upub::model::object::Column::AttributedTo.eq(id)) + .add(upub::model::activity::Column::Actor.eq(id)), } }