From 418eb0b01a77017325db09d6e323277c29852fcb Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Tue, 16 Oct 2018 12:38:50 +0200 Subject: [PATCH] Fix asyncio dispatcher --- pyrogram/client/dispatcher/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/dispatcher/dispatcher.py b/pyrogram/client/dispatcher/dispatcher.py index 095b08ab..61cd8c7c 100644 --- a/pyrogram/client/dispatcher/dispatcher.py +++ b/pyrogram/client/dispatcher/dispatcher.py @@ -215,7 +215,7 @@ class Dispatcher: ) ) elif isinstance(update, types.UpdateUserStatus): - self.dispatch( + await self.dispatch( pyrogram.Update( user_status=utils.parse_user_status( update.status, update.user_id