about summary refs log tree commit diff
path: root/app/models/status_edit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/status_edit.rb')
-rw-r--r--app/models/status_edit.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/models/status_edit.rb b/app/models/status_edit.rb
index 6da9b4b85..e9c8fbe98 100644
--- a/app/models/status_edit.rb
+++ b/app/models/status_edit.rb
@@ -25,7 +25,12 @@ class StatusEdit < ApplicationRecord
 
   class PreservedMediaAttachment < ActiveModelSerializers::Model
     attributes :media_attachment, :description
-    delegate :id, :type, :url, :preview_url, :remote_url, :preview_remote_url, :text_url, :meta, :blurhash, to: :media_attachment
+
+    delegate :id, :type, :url, :preview_url, :remote_url,
+             :preview_remote_url, :text_url, :meta, :blurhash,
+             :not_processed?, :needs_redownload?, :local?,
+             :file, :thumbnail, :thumbnail_remote_url,
+             :shortcode, to: :media_attachment
   end
 
   rate_limit by: :account, family: :statuses