From f93a2de8d49d78e02c1f55bea9308dd8038d39f4 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 02095e578e..9725d8aa38 100644 --- a/app/models/concerns/account/interactions.rb +++ b/app/models/concerns/account/interactions.rb @@ -236,7 +236,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)