1
0
Fork 0
forked from gitea/nas

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

This commit is contained in:
KMY 2024-07-05 06:56:14 +09:00
parent ae7ec2bbd9
commit f3ac508cf7
3 changed files with 16 additions and 12 deletions

View file

@ -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)