mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Return custom User from sign_in/sign_up
This commit is contained in:
@@ -297,7 +297,7 @@ async def _update_session_state(self, user, save=True):
|
||||
)
|
||||
|
||||
self._phone_code_hash = None
|
||||
return user
|
||||
return _custom.User._new(self, user)
|
||||
|
||||
|
||||
async def _replace_session_state(self, *, save=True, **changes):
|
||||
|
Reference in New Issue
Block a user