From 6384041d17041ff0dcaf2d72a728df5999ceb4b1 Mon Sep 17 00:00:00 2001
From: Yamagishi Kazutoshi <ykzts@desire.sh>
Date: Fri, 9 Jun 2017 22:07:02 +0900
Subject: [PATCH] Add includes to Report#statuses (#3655)

---
 app/models/report.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/report.rb b/app/models/report.rb
index 7c317490bd9..4d2552d30af 100644
--- a/app/models/report.rb
+++ b/app/models/report.rb
@@ -23,7 +23,7 @@ class Report < ApplicationRecord
   scope :resolved,   -> { where(action_taken: true) }
 
   def statuses
-    Status.where(id: status_ids)
+    Status.where(id: status_ids).includes(:account, :media_attachments, :mentions)
   end
 
   def media_attachments