fix(client): handle updates in getNearbyChats method

This commit is contained in:
teidesu 2021-05-16 14:46:40 +03:00
parent 9bee00e584
commit 32ef1c59ad

View file

@ -27,6 +27,7 @@ export async function getNearbyChats(
}) })
assertIsUpdatesGroup('contacts.getLocated', res) assertIsUpdatesGroup('contacts.getLocated', res)
this._handleUpdate(res, true)
if (!res.updates.length) return [] if (!res.updates.length) return []