From 9eef1295f0d5556af0741df3369e7335809a8517 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 a7ff55e5c2..020ddfa4ae 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)