posts: stop autotagging huge_filesize.

https://danbooru.donmai.us/forum_topics/19526
This commit is contained in:
evazion
2021-09-26 18:26:38 -05:00
parent 1075277d36
commit 7d3e491dc6
2 changed files with 1 additions and 17 deletions

View File

@@ -460,7 +460,7 @@ class Post < ApplicationRecord
end
def add_automatic_tags(tags)
tags -= %w[incredibly_absurdres absurdres highres lowres huge_filesize flash video ugoira animated_gif animated_png exif_rotation non-repeating_animation]
tags -= %w[incredibly_absurdres absurdres highres lowres flash video ugoira animated_gif animated_png exif_rotation non-repeating_animation]
if image_width >= 10_000 || image_height >= 10_000
tags << "incredibly_absurdres"
@@ -481,10 +481,6 @@ class Post < ApplicationRecord
tags << "tall_image"
end
if file_size >= 10.megabytes
tags << "huge_filesize"
end
if is_flash?
tags << "flash"
end