From ad49e72f02757618d51d89dfd518370bf48f579f Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 13 Apr 2019 17:32:18 +0200 Subject: [PATCH] Fix inline_query_parser in asyncio branch --- pyrogram/client/ext/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/ext/dispatcher.py b/pyrogram/client/ext/dispatcher.py index 8ecb0929..f1358b86 100644 --- a/pyrogram/client/ext/dispatcher.py +++ b/pyrogram/client/ext/dispatcher.py @@ -74,7 +74,7 @@ class Dispatcher: return pyrogram.UserStatus._parse(self.client, update.status, update.user_id), UserStatusHandler async def inline_query_parser(update, users, chats): - return pyrogram.InlineQuery._parse(self.client, update.status, update.user_id), UserStatusHandler + return pyrogram.InlineQuery._parse(self.client, update, users), InlineQueryHandler self.update_parsers = { Dispatcher.MESSAGE_UPDATES: message_parser,