2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-30 05:48:14 +00:00

Tiny copy-paste fix

This commit is contained in:
Dan 2019-10-19 16:36:45 +02:00
parent 85e08f774d
commit 87512e20c3

View File

@ -180,7 +180,7 @@ class Chat(Object):
id=peer_id,
type="group",
title=chat.title,
is_creator=getattr(channel, "creator", None),
is_creator=getattr(chat, "creator", None),
photo=ChatPhoto._parse(client, getattr(chat, "photo", None), peer_id, 0),
permissions=ChatPermissions._parse(getattr(chat, "default_banned_rights", None)),
members_count=getattr(chat, "participants_count", None),