about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index b7215cb36..ead63d2ee 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -199,6 +199,6 @@ class AccountsController < ApplicationController
   end
 
   def rss_disabled?
-    current_user.setting_rss_disabled
+    @account.user&.setting_rss_disabled
   end
 end