mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-03 13:14:31 +03:00
Add missing append in get_chats
This commit is contained in:
parent
e6d7232ae9
commit
ca0d39c4b7
|
@ -82,6 +82,7 @@ async def get_chats(self: Client, chats: Sequence[ChatLike]) -> List[Chat]:
|
|||
|
||||
for chat in chats:
|
||||
packed = await resolve_to_packed(self, chat)
|
||||
packed_chats.append(packed)
|
||||
if packed.is_user():
|
||||
input_users.append(packed._to_input_user())
|
||||
elif packed.is_chat():
|
||||
|
|
Loading…
Reference in New Issue
Block a user