mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +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.get_dialogs()
|
||||
self.get_contacts()
|
||||
|
||||
for i in range(self.UPDATES_WORKERS):
|
||||
Thread(target=self.updates_worker, name="UpdatesWorker#{}".format(i + 1)).start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user