Fix group (mentioning?)

This commit is contained in:
noellabo 2020-10-06 21:04:40 +09:00
parent 23732db79f
commit ba4b67eae3

View file

@ -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?