diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-12-16 11:50:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 11:50:35 +0100 |
commit | 7ca0a71601f92064db64862c8cab46a77d9c3d3d (patch) | |
tree | 342c9a8972757d3706903a40e27a6f8e5a43533e /app/models/media_attachment.rb | |
parent | 3868ba683d56dbbeecc839fdeaeb7b3d0b18bb9a (diff) | |
parent | 0912fb736d435b132779828376cd10cf7ad8e56e (diff) |
Merge pull request #2014 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/models/media_attachment.rb')
-rw-r--r-- | app/models/media_attachment.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index f2b34e4cd..4dd3042ab 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -210,6 +210,8 @@ class MediaAttachment < ApplicationRecord default_scope { order(id: :asc) } + attr_accessor :skip_download + def local? remote_url.blank? end |