diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-17 02:11:10 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | ec5c6e7fcbcdeb8cbc8bc1e33bcd5be9d72bf17d (patch) | |
tree | 194272b3ed80e7003e9ed98eb5d76d99ea36b1ed | |
parent | 3bfa72cbce8521676f931676089169b9e105daa4 (diff) |
This `relay` should be a string, not a `Symbol`.
-rw-r--r-- | app/models/status.rb | 2 |
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? |