diff --git a/bots/modules/channel_helper.py b/bots/modules/channel_helper.py index f03f8ce..2444229 100644 --- a/bots/modules/channel_helper.py +++ b/bots/modules/channel_helper.py @@ -100,7 +100,7 @@ class ChannelHelperBotModuleConfig(TelegramBotModuleConfig): def rpc_get_hashes(self): 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) .values_list('image_hash', flat=True))