about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/media_attachment.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index 3beb96e3a..835287ac9 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -12,10 +12,6 @@ class MediaAttachment < ApplicationRecord
   end
 
   def file_remote_url=(url)
-    unless self[:file_remote_url] == url
-      self.file = URI.parse(url)
-    end
-
-    self[:file_remote_url] = url
+    self.file = URI.parse(url)
   end
 end