2
0

Fix handling of edited status with new media and no text (#35970)

This commit is contained in:
fiona
2025-09-02 12:25:55 +00:00
committed by GitHub
parent bdff970a5e
commit e665cc68f4
2 changed files with 38 additions and 0 deletions

View File

@@ -112,6 +112,8 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
@status.ordered_media_attachment_ids = @next_media_attachments.map(&:id)
@media_attachments_changed = true if @status.ordered_media_attachment_ids != previous_media_attachments_ids
@status.media_attachments.reload if @media_attachments_changed
end
def download_media_files!