about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-17 02:11:10 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commitec5c6e7fcbcdeb8cbc8bc1e33bcd5be9d72bf17d (patch)
tree194272b3ed80e7003e9ed98eb5d76d99ea36b1ed
parent3bfa72cbce8521676f931676089169b9e105daa4 (diff)
This `relay` should be a string, not a `Symbol`.
-rw-r--r--app/models/status.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index cc878d7f5..be2e93f20 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -179,7 +179,7 @@ class Status < ApplicationRecord
   end
 
   def relayed?
-    account.username == :relay && account.actor_type.in?(Set[:Application, :Service])
+    account.username == 'relay' && account.actor_type.in?(Set[:Application, :Service])
   end
 
   def reblog?