forked from alemi/upub
fix: also set inner actor on filled undos
This commit is contained in:
parent
5360489284
commit
abb8095685
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ pub async fn process(ctx: Context, job: &model::job::Model) -> crate::JobResult<
|
||||||
.one(&tx)
|
.one(&tx)
|
||||||
.await?
|
.await?
|
||||||
.ok_or_else(|| sea_orm::DbErr::RecordNotFound(format!("actor={},type={},object={}",job.actor, undone_type, undone_target)))?;
|
.ok_or_else(|| sea_orm::DbErr::RecordNotFound(format!("actor={},type={},object={}",job.actor, undone_type, undone_target)))?;
|
||||||
undone = undone.set_id(Some(&undone_model.id));
|
undone = undone
|
||||||
|
.set_id(Some(&undone_model.id))
|
||||||
|
.set_actor(apb::Node::link(job.actor.clone()));
|
||||||
}
|
}
|
||||||
activity = activity.set_object(apb::Node::object(undone));
|
activity = activity.set_object(apb::Node::object(undone));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue