From 0aa53f0d291b8a0d588218c42a91d3a964e9fb76 Mon Sep 17 00:00:00 2001 From: Essem Date: Sun, 28 Jan 2024 14:51:10 -0600 Subject: [PATCH] Fix rubocop lint issue --- app/models/concerns/account/interactions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/account/interactions.rb b/app/models/concerns/account/interactions.rb index b061dfb7d2..5afeb7e6d9 100644 --- a/app/models/concerns/account/interactions.rb +++ b/app/models/concerns/account/interactions.rb @@ -231,7 +231,7 @@ module Account::Interactions end def reacted?(status, name, custom_emoji = nil) - status.proper.status_reactions.where(account: self, name: name, custom_emoji: custom_emoji).exists? + status.proper.status_reactions.exists?(account: self, name: name, custom_emoji: custom_emoji) end def bookmarked?(status)