#2499 disallow manually adding mp4 tag
This commit is contained in:
@@ -591,7 +591,7 @@ class Post < ActiveRecord::Base
|
|||||||
def add_automatic_tags(tags)
|
def add_automatic_tags(tags)
|
||||||
return tags if !Danbooru.config.enable_dimension_autotagging
|
return tags if !Danbooru.config.enable_dimension_autotagging
|
||||||
|
|
||||||
tags -= %w(incredibly_absurdres absurdres highres lowres huge_filesize animated_gif flash webm)
|
tags -= %w(incredibly_absurdres absurdres highres lowres huge_filesize animated_gif flash webm mp4)
|
||||||
|
|
||||||
if has_dimensions?
|
if has_dimensions?
|
||||||
if image_width >= 10_000 || image_height >= 10_000
|
if image_width >= 10_000 || image_height >= 10_000
|
||||||
|
|||||||
Reference in New Issue
Block a user