diff --git a/app/models/concerns/account/interactions.rb b/app/models/concerns/account/interactions.rb index b149982a1f..5e9aa474d3 100644 --- a/app/models/concerns/account/interactions.rb +++ b/app/models/concerns/account/interactions.rb @@ -216,7 +216,7 @@ module Account::Interactions return false unless local? scope = followers - scope = scope.where("follows.created_at < '#{since}'") if since.present? + scope = scope.where('follows.created_at < ?', since) if since.present? scope.exists?(domain: other_domain) end