fix: use activity published when merging obj addr
This commit is contained in:
parent
1e57d0d2de
commit
32a2f968f6
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
let mut prev = prev.into_active_model();
|
||||||
prev.activity = Set(Some(aid));
|
prev.activity = Set(Some(aid));
|
||||||
prev.object = Set(Some(oid));
|
prev.object = Set(Some(oid));
|
||||||
|
prev.published = Set(when);
|
||||||
prev.update(tx).await?;
|
prev.update(tx).await?;
|
||||||
continue; // no need to insert this one
|
continue; // no need to insert this one
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue