diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-16 23:43:03 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:18 -0500 |
commit | 6ee1ea45d80ac1b956d818e0f5e549f21e26f531 (patch) | |
tree | 532a8ac596c8880ca95c91088bc7aff41b5b4d7a | |
parent | ae886ea3e14788ef7966b02502451527080ea5ee (diff) |
[Bug] Use correct test for presence of remote account
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 908bd1bdb..cfc93b7ce 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -259,7 +259,7 @@ class ApplicationController < ActionController::Base end def authenticated_or_following?(account) - current_user.functional? || following?(account) + current_account? || following?(account) end def current_account? |