mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Fix develop merge issues with asyncio branch
This commit is contained in:
parent
d2a15d8143
commit
532ad6bd81
1 changed files with 1 additions and 2 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue