Skip to content


Fix opposite condition on .get_dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Oct 1, 2017
1 parent e717256 commit 62ea77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telethon/
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def get_dialogs(self,
for c in r.chats:
entities[] = c

if isinstance(r, DialogsSlice):
if not isinstance(r, DialogsSlice):
# Don't enter next iteration if we already got all

Expand Down

0 comments on commit 62ea77c

Please sign in to comment.