mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 19:23:41 +01:00
Fix for media attachments remote URL download
This commit is contained in:
parent
1d9c886518
commit
ed94e998bc
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue