Merge pull request from GHSA-xjvf-fm67-4qc3

This commit is contained in:
Claire 2024-07-04 16:45:52 +02:00 committed by GitHub
parent 4fb4721072
commit d4bf22b632
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
def find_existing_status
status = status_from_uri(object_uri)
status ||= Status.find_by(uri: @object['atomUri']) if @object['atomUri'].present?
status
status if status&.account_id == @account.id
end
def process_status_params