From 40827442c7d33ad9f8b0ce1dc53c5315f52c5928 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 8 Apr 2018 12:15:24 -0500 Subject: [PATCH] Fix #3614: IQDB: don't index placeholder thumbnails. --- 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 d445030a1..fd76491d7 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -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