Skip to content

Commit

Permalink
Merge pull request from GHSA-xjvf-fm67-4qc3
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Jul 4, 2024
1 parent 34aeef3 commit a1c7aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/activitypub/activity/create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def distribute
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
Expand Down

0 comments on commit a1c7aae

Please sign in to comment.