From b20b608d503e41a82bd2023aad75674f59b7a54d 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 b061dfb7d2a218..5afeb7e6d9b67f 100644 --- a/app/models/concerns/account/interactions.rb +++ b/app/models/concerns/account/interactions.rb @@ -231,7 +231,7 @@ def favourited?(status) 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)