Process incoming Move() activities in background
This commit is contained in:
parent
dcaa2227d2
commit
9e5672929b
2 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
- Increase maximum number of custom emojis per post to 50.
|
- Increase maximum number of custom emojis per post to 50.
|
||||||
- Validate actor aliases before saving into database.
|
- Validate actor aliases before saving into database.
|
||||||
|
- Process incoming `Move()` activities in background.
|
||||||
|
|
||||||
## [1.19.1] - 2023-03-31
|
## [1.19.1] - 2023-03-31
|
||||||
|
|
||||||
|
|
|
@ -320,7 +320,7 @@ pub async fn receive_activity(
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
if let ANNOUNCE | CREATE | DELETE | UNDO | UPDATE = activity_type {
|
if let ANNOUNCE | CREATE | DELETE | MOVE | 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