Fix /admin/accounts/:account_id/statuses/:id
for edited posts with media attachments (#30819)
This commit is contained in:
parent
ae7ec2bbd9
commit
f3ac508cf7
3 changed files with 16 additions and 12 deletions
|
@ -42,8 +42,8 @@ class StatusEdit < ApplicationRecord
|
|||
|
||||
scope :ordered, -> { order(id: :asc) }
|
||||
|
||||
delegate :local?, :application, :edited?, :edited_at, :language,
|
||||
:discarded?, :visibility, to: :status
|
||||
delegate :local?, :application, :edited?, :edited_at,
|
||||
:discarded?, :visibility, :language, to: :status
|
||||
|
||||
def emojis
|
||||
return @emojis if defined?(@emojis)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue