Avoid counterintuitive automatic connection

This commit is contained in:
Lonami Exo
2017-05-20 11:33:37 +02:00
parent bbd3eb7c28
commit 468033fa7e
4 changed files with 10 additions and 2 deletions

View File

@@ -99,6 +99,7 @@ class TelegramClient:
self.session.save()
self.sender = MtProtoSender(self.transport, self.session)
self.sender.connect()
# Now it's time to send an InitConnectionRequest
# This must always be invoked with the layer we'll be using