Fix: 引用元の投稿が削除されたときにエラーが出る問題 (#261)
This commit is contained in:
parent
1da7f6f4a1
commit
85a6631709
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class Status < ApplicationRecord
|
|||
end
|
||||
|
||||
def quote?
|
||||
!quote_of_id.nil?
|
||||
!quote_of_id.nil? && !quote.nil?
|
||||
end
|
||||
|
||||
def within_realtime_window?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue