Fix incorrect participant count on some channels

This commit is contained in:
Lonami Exo 2018-03-12 09:52:16 +01:00
parent 8b1cc4c8cb
commit 657c771fa0

View File

@ -1233,7 +1233,7 @@ class TelegramClient(TelegramBareClient):
if not participants.users: if not participants.users:
requests.pop(i) requests.pop(i)
else: else:
requests[i].offset += len(participants.users) requests[i].offset += len(participants.participants)
for user in participants.users: for user in participants.users:
if user.id not in seen: if user.id not in seen:
seen.add(user.id) seen.add(user.id)