mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-18 13:34:54 +00:00
Fix asyncio dispatcher
This commit is contained in:
parent
f45e3377a9
commit
418eb0b01a
@ -215,7 +215,7 @@ class Dispatcher:
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
elif isinstance(update, types.UpdateUserStatus):
|
elif isinstance(update, types.UpdateUserStatus):
|
||||||
self.dispatch(
|
await self.dispatch(
|
||||||
pyrogram.Update(
|
pyrogram.Update(
|
||||||
user_status=utils.parse_user_status(
|
user_status=utils.parse_user_status(
|
||||||
update.status, update.user_id
|
update.status, update.user_id
|
||||||
|
Loading…
Reference in New Issue
Block a user