Add missing append in get_chats

This commit is contained in:
Lonami Exo 2023-11-09 18:09:13 +01:00
parent e6d7232ae9
commit ca0d39c4b7

View File

@ -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():