about summary refs log tree commit diff
path: root/app/models/concerns/account_avatar.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-05-12 11:03:05 +0200
committerClaire <claire.github-309c@sitedethib.com>2021-05-12 11:03:05 +0200
commitdc58d02192baef0bd006d80f10f018f01dc5ff0f (patch)
treeae1e316aa745d8c28551bf418ad6d47bc83c55a4 /app/models/concerns/account_avatar.rb
parentffc3f8eebe134ca9b18af73aa29eaa1627082e40 (diff)
parent70f6f2e9b70afe5af17ee9aaec777565bdef8aed (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/models/concerns/account_avatar.rb')
-rw-r--r--app/models/concerns/account_avatar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/account_avatar.rb b/app/models/concerns/account_avatar.rb
index 2d5ebfca3..1af53ed23 100644
--- a/app/models/concerns/account_avatar.rb
+++ b/app/models/concerns/account_avatar.rb
@@ -21,7 +21,7 @@ module AccountAvatar
     has_attached_file :avatar, styles: ->(f) { avatar_styles(f) }, convert_options: { all: '-strip' }, processors: [:lazy_thumbnail]
     validates_attachment_content_type :avatar, content_type: IMAGE_MIME_TYPES
     validates_attachment_size :avatar, less_than: LIMIT
-    remotable_attachment :avatar, LIMIT
+    remotable_attachment :avatar, LIMIT, suppress_errors: false
   end
 
   def avatar_original_url