Fix direct message emoji reaction delivery error

This commit is contained in:
KMY 2023-07-04 08:37:50 +09:00
parent 794f49c5b6
commit c8d30bed3c

View file

@ -21,7 +21,7 @@ module AccountScope
end
def scope_status_mentioned(status)
status.active_mentions.joins(:account).merge(Account.local).select('account_id AS id').reorder(nil)
Account.local.where(id: status.active_mentions.select(:account_id)).reorder(nil)
end
# TODO: not work