Fix asyncio dispatcher

This commit is contained in:
Dan 2018-10-16 12:38:50 +02:00
parent f45e3377a9
commit 418eb0b01a

View File

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