mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-29 01:58:44 +01:00
Merge pull request from GHSA-xjvf-fm67-4qc3
This commit is contained in:
parent
34aeef3453
commit
a1c7aae28a
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,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
|
||||
|
|
Loading…
Reference in a new issue