This `relay` should be a string, not a `Symbol`.

staging
multiple creatures 2019-04-17 02:11:10 -05:00
parent 3bfa72cbce
commit ec5c6e7fcb
1 changed files with 1 additions and 1 deletions

View File

@ -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?