2
0
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:
Dan 2019-01-02 19:13:01 +01:00
parent 12e070f6b1
commit 1f8f313398

View File

@ -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,