mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix opposite condition on .get_dialogs
This commit is contained in:
@@ -274,7 +274,7 @@ class TelegramClient(TelegramBareClient):
|
|||||||
for c in r.chats:
|
for c in r.chats:
|
||||||
entities[c.id] = c
|
entities[c.id] = c
|
||||||
|
|
||||||
if isinstance(r, DialogsSlice):
|
if not isinstance(r, DialogsSlice):
|
||||||
# Don't enter next iteration if we already got all
|
# Don't enter next iteration if we already got all
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user