mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 07:51:44 +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.user_id = self.authorize()
|
||||||
self.save_session()
|
self.save_session()
|
||||||
|
|
||||||
self.session.update_handler = self.update_handler
|
|
||||||
self.rnd_id = self.session.msg_id
|
self.rnd_id = self.session.msg_id
|
||||||
self.get_dialogs()
|
self.get_dialogs()
|
||||||
|
self.session.update_handler = self.update_handler
|
||||||
|
|
||||||
mimetypes.init()
|
mimetypes.init()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user