From e2a1b574ab4ec5dd07dbc5c317bcc3718f13c19b Mon Sep 17 00:00:00 2001 From: 839 <8398a7@gmail.com> Date: Tue, 18 Apr 2017 22:57:46 +0900 Subject: Avoid dynamic methods due to processing speed (#2080) --- app/models/status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models') diff --git a/app/models/status.rb b/app/models/status.rb index a9b7327c3..2d27a57d5 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -42,7 +42,7 @@ class Status < ApplicationRecord cache_associated :account, :application, :media_attachments, :tags, :stream_entry, mentions: :account, reblog: [:account, :application, :stream_entry, :tags, :media_attachments, mentions: :account], thread: :account def reply? - super || !in_reply_to_id.nil? + !in_reply_to_id.nil? || super end def local? -- cgit