Process Delete() and Undo() activities in background to preserve ordering
This commit is contained in:
parent
4d271353c4
commit
239bdcf97d
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ pub async fn receive_activity(
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
if let ANNOUNCE | CREATE | UPDATE = activity_type {
|
if let ANNOUNCE | CREATE | DELETE | UNDO | UPDATE = activity_type {
|
||||||
// Add activity to job queue and release lock
|
// Add activity to job queue and release lock
|
||||||
IncomingActivityJobData::new(activity, is_authenticated)
|
IncomingActivityJobData::new(activity, is_authenticated)
|
||||||
.into_job(db_client, 0).await?;
|
.into_job(db_client, 0).await?;
|
||||||
|
|
Loading…
Reference in a new issue