Call get_contacts when starting the client

This commit is contained in:
Dan 2018-02-20 15:06:12 +01:00
parent c99bc9118b
commit c33719be9e

View File

@ -183,6 +183,7 @@ class Client:
self.rnd_id = MsgId
self.get_dialogs()
self.get_contacts()
for i in range(self.UPDATES_WORKERS):
Thread(target=self.updates_worker, name="UpdatesWorker#{}".format(i + 1)).start()