Don't ignore Delete(Person) verification errors if database error subtype is not NotFound
This commit is contained in:
parent
4c97246e3f
commit
7247441693
2 changed files with 5 additions and 1 deletions
|
@ -14,6 +14,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||
|
||||
- `/api/v1/accounts/move_followers` API endpoint.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Don't ignore `Delete(Person)` verification errors if database error subtype is not `NotFound`.
|
||||
|
||||
## [1.9.0] - 2023-01-08
|
||||
|
||||
### Added
|
||||
|
|
|
@ -253,7 +253,7 @@ pub async fn receive_activity(
|
|||
if is_self_delete && matches!(
|
||||
error,
|
||||
AuthenticationError::NoHttpSignature |
|
||||
AuthenticationError::DatabaseError(_)
|
||||
AuthenticationError::DatabaseError(DatabaseError::NotFound(_))
|
||||
) {
|
||||
// Ignore Delete(Person) activities without HTTP signatures
|
||||
// or if signer is not found in local database
|
||||
|
|
Loading…
Reference in a new issue