mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 20:59:29 +00:00
Call get_contacts when starting the client
This commit is contained in:
parent
c99bc9118b
commit
c33719be9e
@ -183,6 +183,7 @@ class Client:
|
|||||||
|
|
||||||
self.rnd_id = MsgId
|
self.rnd_id = MsgId
|
||||||
self.get_dialogs()
|
self.get_dialogs()
|
||||||
|
self.get_contacts()
|
||||||
|
|
||||||
for i in range(self.UPDATES_WORKERS):
|
for i in range(self.UPDATES_WORKERS):
|
||||||
Thread(target=self.updates_worker, name="UpdatesWorker#{}".format(i + 1)).start()
|
Thread(target=self.updates_worker, name="UpdatesWorker#{}".format(i + 1)).start()
|
||||||
|
Loading…
Reference in New Issue
Block a user