Merge commit from fork

This commit is contained in:
Claire
2025-12-08 15:44:08 +01:00
committed by GitHub
parent 85bf5be604
commit 607449336d
15 changed files with 16 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ class ActivityPub::QuoteAuthorizationsController < ActivityPub::BaseController
return not_found unless @quote.status.present? && @quote.quoted_status.present?
authorize @quote.quoted_status, :show?
rescue Mastodon::NotPermittedError
rescue ActiveRecord::RecordNotFound, Mastodon::NotPermittedError
not_found
end
end