mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +00:00
Fix linked chat parsing
There are two distinct ChatFull types using the same name (but different namespaces), their objects are kept in chat_full and full_chat.
This commit is contained in:
parent
db7fc68efe
commit
37d823f579
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ class Chat(Object):
|
|||
if full_chat.id == c.id:
|
||||
chat = c
|
||||
|
||||
if isinstance(chat_full, types.ChannelFull):
|
||||
if isinstance(full_chat, types.ChannelFull):
|
||||
if full_chat.linked_chat_id == c.id:
|
||||
linked_chat = c
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue