mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Fix broken ChatMember parser working on already parsed Users
This commit is contained in:
parent
12e070f6b1
commit
1f8f313398
@ -59,8 +59,7 @@ class ChatMembers(PyrogramType):
|
||||
total_count = len(members)
|
||||
|
||||
for member in members:
|
||||
user = User._parse(client, users[member.user_id])
|
||||
chat_members.append(ChatMember._parse(client, member, user))
|
||||
chat_members.append(ChatMember._parse(client, member, users[member.user_id]))
|
||||
|
||||
return ChatMembers(
|
||||
total_count=total_count,
|
||||
|
Loading…
x
Reference in New Issue
Block a user