fix: use activity published when merging obj addr

This commit is contained in:
əlemi 2024-11-09 11:53:37 +01:00
parent 1e57d0d2de
commit 32a2f968f6
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -118,6 +118,7 @@ async fn address_to(ctx: &crate::Context, to: Vec<String>, aid: Option<i64>, 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
}