This `relay` should be a string, not a `Symbol`.
parent
3bfa72cbce
commit
ec5c6e7fcb
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue