Fix opposite condition on .get_dialogs

This commit is contained in:
Lonami Exo 2017-10-01 19:45:42 +02:00
parent e717256937
commit 62ea77cbea

View File

@ -274,7 +274,7 @@ class TelegramClient(TelegramBareClient):
for c in r.chats:
entities[c.id] = c
if isinstance(r, DialogsSlice):
if not isinstance(r, DialogsSlice):
# Don't enter next iteration if we already got all
break