From 32a2f968f6a61d9bae66813ad2147a122520f86b Mon Sep 17 00:00:00 2001 From: alemi Date: Sat, 9 Nov 2024 11:53:37 +0100 Subject: [PATCH] fix: use activity published when merging obj addr --- upub/core/src/traits/address.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/upub/core/src/traits/address.rs b/upub/core/src/traits/address.rs index 3a0a396..a2e61dc 100644 --- a/upub/core/src/traits/address.rs +++ b/upub/core/src/traits/address.rs @@ -118,6 +118,7 @@ async fn address_to(ctx: &crate::Context, to: Vec, aid: Option, oid let mut prev = prev.into_active_model(); prev.activity = Set(Some(aid)); prev.object = Set(Some(oid)); + prev.published = Set(when); prev.update(tx).await?; continue; // no need to insert this one }