diff options
-rw-r--r-- | app/controllers/statuses_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rb index 299fe0cda..c8c8e52e4 100644 --- a/app/controllers/statuses_controller.rb +++ b/app/controllers/statuses_controller.rb @@ -203,6 +203,7 @@ class StatusesController < ApplicationController end def handle_sharekey_change + return if params[:rekey].nil? raise Mastodon::NotPermittedError unless current_account.id == @status.account_id case params[:rekey] when '1' |