diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 12e1eae3..ff2eda7a 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -111,9 +111,9 @@ class Client: self.user_id = self.authorize() self.save_session() - self.session.update_handler = self.update_handler self.rnd_id = self.session.msg_id self.get_dialogs() + self.session.update_handler = self.update_handler mimetypes.init()