mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Skip tombstone creation on deleting from 404 (#37533)
This commit is contained in:
parent
ded7f50f2c
commit
ba0609bbaf
1 changed files with 0 additions and 1 deletions
|
|
@ -92,7 +92,6 @@ class ActivityPub::FetchRemoteStatusService < BaseService
|
|||
existing_status = Status.remote.find_by(uri: uri)
|
||||
if existing_status&.distributable?
|
||||
Rails.logger.debug { "FetchRemoteStatusService - Got 404 for orphaned status with URI #{uri}, deleting" }
|
||||
Tombstone.find_or_create_by(uri: uri, account: existing_status.account)
|
||||
RemoveStatusService.new.call(existing_status, redraft: false)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue