Fix #3614: IQDB: don't index placeholder thumbnails.

This commit is contained in:
evazion
2018-04-08 12:15:24 -05:00
parent 2cbec785ea
commit 40827442c7

View File

@@ -1648,7 +1648,7 @@ class Post < ApplicationRecord
end
def update_iqdb_async
if Post.iqdb_enabled?
if Post.iqdb_enabled? && has_preview?
Post.iqdb_sqs_service.send_message("update\n#{id}\n#{preview_file_url}")
end
end