mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-19 03:26:39 +00: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