From ba4b67eae34ffbf0ca060695ce31068665eee833 Mon Sep 17 00:00:00 2001 From: noellabo Date: Tue, 6 Oct 2020 21:04:40 +0900 Subject: [PATCH] Fix group (mentioning?) --- app/models/status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/status.rb b/app/models/status.rb index c7a23c9e4..3e9bfc095 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -221,7 +221,7 @@ class Status < ApplicationRecord def mentioning?(source_account_id) source_account_id = source_account_id.id if source_account_id.is_a?(Account) - mentioned_with(source_account_id).exists? + mentions.where(account_id: source_account_id).exists? end def within_realtime_window?