Fix handling of edited status with new media and no text (#35970)
This commit is contained in:
		@@ -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!
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user