Fetch users when getting contacts
This commit is contained in:
parent
3ff3f5d9f4
commit
c99bc9118b
@ -2337,4 +2337,7 @@ class Client:
|
||||
)
|
||||
|
||||
def get_contacts(self, _hash: int = 0):
|
||||
return self.send(functions.contacts.GetContacts(_hash))
|
||||
contacts = self.send(functions.contacts.GetContacts(_hash))
|
||||
self.fetch_peers(contacts.users)
|
||||
|
||||
return contacts
|
||||
|
Loading…
Reference in New Issue
Block a user