Skip to content

Commit

Permalink
Add missing append in get_chats
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Nov 9, 2023
1 parent e6d7232 commit ca0d39c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/telethon/_impl/client/client/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit ca0d39c

Please sign in to comment.