Fix #4042: Remove source_request by default when replacing posts.

This commit is contained in:
evazion
2019-01-13 15:06:30 -06:00
parent 13dff046f7
commit 54f562bf1c

View File

@@ -546,7 +546,7 @@ module Danbooru
# Should return true if the given tag should be suggested for removal in the post replacement dialog box.
def remove_tag_after_replacement?(tag)
tag =~ /\A(?:replaceme|.*_sample|resized|upscaled|downscaled|md5_mismatch|jpeg_artifacts|corrupted_image)\Z/i
tag =~ /\A(?:replaceme|.*_sample|resized|upscaled|downscaled|md5_mismatch|jpeg_artifacts|corrupted_image|source_request)\z/i
end
# Posts with these tags will be highlighted yellow in the modqueue.