From 2549ee874547caced2997e9c6a80669e6be13923 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 02095e578e84b0..9725d8aa38181d 100644 --- a/app/models/concerns/account/interactions.rb +++ b/app/models/concerns/account/interactions.rb @@ -236,7 +236,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)