From 8ee9b050ef71868514990a8143d2c2b57d775e8a Mon Sep 17 00:00:00 2001 From: Hugo Levy-Falk Date: Wed, 4 Mar 2020 15:54:55 +0000 Subject: [PATCH] inline for everyone --- klafytg/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klafytg/bot.py b/klafytg/bot.py index 5cdc690..a8f0756 100644 --- a/klafytg/bot.py +++ b/klafytg/bot.py @@ -52,7 +52,7 @@ class Bot: def is_allowed(self, update, context): if update.inline_query: - return update.effective_user.id in self.channels + return True return update.effective_chat.id in self.channels def start(self):