From a921eb4e39390eeec6c49c706aad3630b1d50282 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Thu, 20 Aug 2020 05:52:54 -0500 Subject: [Filtering, Bug] Remove duplicate or unnecessary permission checks, add missing filter_options argument --- app/controllers/activitypub/replies_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/activitypub') diff --git a/app/controllers/activitypub/replies_controller.rb b/app/controllers/activitypub/replies_controller.rb index 1e1b342b3..4d553fc07 100644 --- a/app/controllers/activitypub/replies_controller.rb +++ b/app/controllers/activitypub/replies_controller.rb @@ -26,7 +26,6 @@ class ActivityPub::RepliesController < ActivityPub::BaseController def set_status @status = @account.statuses.find(params[:status_id]) authorize @status, :show? - authorize @status.reblog, :show? if @status.reblog? rescue Mastodon::NotPermittedError not_found end -- cgit