Fix not updating a status when newer version is fetched manually (#17745)
This commit is contained in:
@ -20,7 +20,7 @@ class ActivityPub::Activity::Update < ActivityPub::Activity
|
||||
end
|
||||
|
||||
def update_status
|
||||
return reject_payload! if invalid_origin?(@object['id'])
|
||||
return reject_payload! if invalid_origin?(object_uri)
|
||||
|
||||
@status = Status.find_by(uri: object_uri, account_id: @account.id)
|
||||
|
||||
|
Reference in New Issue
Block a user