diff options
-rw-r--r-- | app/workers/push_update_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/push_update_worker.rb b/app/workers/push_update_worker.rb index ae444cfde..9f44c32b3 100644 --- a/app/workers/push_update_worker.rb +++ b/app/workers/push_update_worker.rb @@ -6,7 +6,7 @@ class PushUpdateWorker def perform(account_id, status_id, timeline_id = nil, options = {}) @account = Account.find(account_id) - @status = Status.find(status_id) + @status = Status.includes(active_mentions: :account, reblog: { active_mentions: :account }).find(status_id) @timeline_id = timeline_id || "timeline:#{account.id}" @options = options.symbolize_keys |