mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix incorrect participant count on some channels
This commit is contained in:
parent
8b1cc4c8cb
commit
657c771fa0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user