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) (update.channel_id if is_channel else None)
) )
self.dispatch( await self.dispatch(
pyrogram.Update( pyrogram.Update(
deleted_messages=(messages if not is_channel else None), deleted_messages=(messages if not is_channel else None),
deleted_channel_posts=(messages if is_channel else None) deleted_channel_posts=(messages if is_channel else None)
) )
) )
elif isinstance(update, types.UpdateBotCallbackQuery): elif isinstance(update, types.UpdateBotCallbackQuery):
await self.dispatch( await self.dispatch(
pyrogram.Update( pyrogram.Update(