about summary refs log tree commit diff
path: root/app/models/relay.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/relay.rb')
-rw-r--r--app/models/relay.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/relay.rb b/app/models/relay.rb
index 75cb060b2..7478c110d 100644
--- a/app/models/relay.rb
+++ b/app/models/relay.rb
@@ -68,7 +68,7 @@ class Relay < ApplicationRecord
   end
 
   def some_local_account
-    @some_local_account ||= Account.local.find_by(suspended: false)
+    @some_local_account ||= Account.representative
   end
 
   def ensure_disabled