2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-05 00:35:10 +00:00

Fix develop merge issues with asyncio branch

This commit is contained in:
Dan
2018-06-21 18:02:16 +02:00
parent d2a15d8143
commit 532ad6bd81

View File

@@ -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(