From 25ded91d4ae683e9a53594d354bf99d968e00cbd Mon Sep 17 00:00:00 2001 From: Toks Date: Sun, 30 Aug 2015 18:26:31 -0400 Subject: [PATCH] #2499 disallow manually adding mp4 tag --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index 965f7b150..651776144 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -591,7 +591,7 @@ class Post < ActiveRecord::Base def add_automatic_tags(tags) 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 image_width >= 10_000 || image_height >= 10_000