Fix group (mentioning?)
This commit is contained in:
parent
23732db79f
commit
ba4b67eae3
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ class Status < ApplicationRecord
|
||||||
def mentioning?(source_account_id)
|
def mentioning?(source_account_id)
|
||||||
source_account_id = source_account_id.id if source_account_id.is_a?(Account)
|
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
|
end
|
||||||
|
|
||||||
def within_realtime_window?
|
def within_realtime_window?
|
||||||
|
|
Loading…
Reference in a new issue