0
0
Fork 0

Fix /admin/accounts/:account_id/statuses/:id for edited posts with media attachments (#30819)

This commit is contained in:
Claire 2024-06-24 15:11:10 +02:00 committed by GitHub
parent 61722b1b1f
commit 8827cd597e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -42,7 +42,7 @@ class StatusEdit < ApplicationRecord
scope :ordered, -> { order(id: :asc) }
delegate :local?, :application, :edited?, :edited_at,
:discarded?, :visibility, to: :status
:discarded?, :visibility, :language, to: :status
def emojis
return @emojis if defined?(@emojis)