Fix: 投稿がメディアを持っているかの判定条件で、Rubyのコードを通さないよう改善 (#338)
This commit is contained in:
parent
6a680bad9a
commit
dccc7c9b3a
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ class Status < ApplicationRecord
|
|||
alias sign? distributable?
|
||||
|
||||
def with_media?
|
||||
ordered_media_attachments.any?
|
||||
media_attachments.any?
|
||||
end
|
||||
|
||||
def expired?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue