This commit is contained in:
bakatrouble 2025-07-25 15:03:03 +03:00
parent c489d7740f
commit 9776feabc3

View File

@ -100,7 +100,7 @@ class ChannelHelperBotModuleConfig(TelegramBotModuleConfig):
def rpc_get_hashes(self): def rpc_get_hashes(self):
config._reload_maybe() config._reload_maybe()
return list(self.queued_items.filter(type='photo', processed=False) return list(self.queued_items.filter(type='photo')
.exclude(image_hash__isnull=True) .exclude(image_hash__isnull=True)
.values_list('image_hash', flat=True)) .values_list('image_hash', flat=True))