From 532ad6bd81346c9eb46bacb3eccc9627465dfe6c Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 21 Jun 2018 18:02:16 +0200 Subject: [PATCH] Fix develop merge issues with asyncio branch --- pyrogram/client/dispatcher/dispatcher.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyrogram/client/dispatcher/dispatcher.py b/pyrogram/client/dispatcher/dispatcher.py index 69425c08..2b597a72 100644 --- a/pyrogram/client/dispatcher/dispatcher.py +++ b/pyrogram/client/dispatcher/dispatcher.py @@ -182,13 +182,12 @@ class Dispatcher: (update.channel_id if is_channel else None) ) - self.dispatch( + await self.dispatch( pyrogram.Update( deleted_messages=(messages if not is_channel else None), deleted_channel_posts=(messages if is_channel else None) ) ) - elif isinstance(update, types.UpdateBotCallbackQuery): await self.dispatch( pyrogram.Update(