fix: show activities by self

This commit is contained in:
əlemi 2024-12-10 22:47:44 +01:00
parent 270908b38c
commit e18bf6e955
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -27,7 +27,8 @@ impl Identity {
Identity::Remote { internal, .. } => base_cond.add(upub::model::addressing::Column::Instance.eq(*internal)), Identity::Remote { internal, .. } => base_cond.add(upub::model::addressing::Column::Instance.eq(*internal)),
Identity::Local { internal, id } => base_cond Identity::Local { internal, id } => base_cond
.add(upub::model::addressing::Column::Actor.eq(*internal)) .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)),
} }
} }