mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-07 09:45:14 +00:00
Set the update handler *after* fetching the dialogs
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user