mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-23 23:34:28 +00:00
Set the update handler *after* fetching the dialogs
This commit is contained in:
parent
ca8e5679ee
commit
155087e305
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user