From ec5c6e7fcbcdeb8cbc8bc1e33bcd5be9d72bf17d Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 17 Apr 2019 02:11:10 -0500 Subject: This `relay` should be a string, not a `Symbol`. --- app/models/status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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? -- cgit