mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-29 02:34:15 +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:
|
||||
requests.pop(i)
|
||||
else:
|
||||
requests[i].offset += len(participants.users)
|
||||
requests[i].offset += len(participants.participants)
|
||||
for user in participants.users:
|
||||
if user.id not in seen:
|
||||
seen.add(user.id)
|
||||
|
|
Loading…
Reference in New Issue
Block a user