about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index e2baecede..e0105ee54 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -30,7 +30,7 @@ module ApplicationHelper
     if domain == Rails.configuration.x.local_domain
       account = Account.find_local(username)
     else
-      account = Account.find_by(username: username, domain: domain)
+      account = Account.find_remote(username, domain)
     end
 
     account