Fix #5171: Don't allow wide_image and tall_image to be manually tagged.

This commit is contained in:
evazion
2022-05-21 13:45:27 -05:00
parent d89db73c2f
commit e53e8da3a1

View File

@@ -385,7 +385,7 @@ class Post < ApplicationRecord
end
def add_automatic_tags(tags)
tags -= %w[incredibly_absurdres absurdres highres lowres flash video ugoira animated_gif animated_png exif_rotation non-repeating_animation non-web_source]
tags -= %w[incredibly_absurdres absurdres highres lowres flash video ugoira animated_gif animated_png exif_rotation non-repeating_animation non-web_source wide_image tall_image]
if tags.size >= 30
tags -= ["tagme"]