mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Change REST API to return empty data for suspended accounts (#14765)
This commit is contained in:
@@ -35,6 +35,10 @@ module Paperclip
|
||||
|
||||
formats.include?(other_extension.delete('.')) && File.basename(other_filename, other_extension) == File.basename(original_filename, File.extname(original_filename))
|
||||
end
|
||||
|
||||
def default_url(style_name = default_style)
|
||||
@url_generator.for_as_default(style_name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user