mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Fix NameError on line 240
This commit is contained in:
parent
caf80f239b
commit
1d4948309f
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ class Chat(Object):
|
|||
@staticmethod
|
||||
def _parse_chat_chat(client, chat: raw.types.Chat) -> "Chat":
|
||||
peer_id = -chat.id
|
||||
active_usernames = getattr(channel, "usernames", [])
|
||||
active_usernames = getattr(chat, "usernames", [])
|
||||
usernames = None
|
||||
if len(active_usernames) >= 1:
|
||||
usernames = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue