Set the update handler *after* fetching the dialogs

This commit is contained in:
Dan 2018-01-15 13:44:29 +01:00
parent ca8e5679ee
commit 155087e305

View File

@ -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()