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

This commit is contained in:
Claire authored and GitHub committed 2024-06-24 13:11:10 +00:00
1 parent 61722b1b1f
commit 8827cd597e
2 files changed
+6 -1

No files matched your search

+1 -1
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)