mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 12:40:22 +03:00
Also block when exporting authorization
This commit is contained in:
parent
78167b3c7b
commit
893a7a66b8
|
@ -393,7 +393,7 @@ class TelegramBaseClient(abc.ABC):
|
||||||
req = self._init_with(functions.auth.ImportAuthorizationRequest(
|
req = self._init_with(functions.auth.ImportAuthorizationRequest(
|
||||||
id=auth.id, bytes=auth.bytes
|
id=auth.id, bytes=auth.bytes
|
||||||
))
|
))
|
||||||
sender.send(req)
|
sender.send(req).result()
|
||||||
return sender
|
return sender
|
||||||
|
|
||||||
def _borrow_exported_sender(self, dc_id):
|
def _borrow_exported_sender(self, dc_id):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user