Remove input_peer parameter from get_me

This commit is contained in:
Lonami Exo
2022-01-26 11:03:50 +01:00
parent 7778e54467
commit d426099bf5
5 changed files with 9 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ async def _into_id_set(client, chats):
else:
chat = await client.get_input_entity(chat)
if isinstance(chat, _tl.InputPeerSelf):
chat = await client.get_me(input_peer=True)
chat = _tl.PeerUser(self._session_state.user_id)
result.add(utils.get_peer_id(chat))
return result