Set client._authorized after log_out() (#765)

This commit is contained in:
Jon Besga 2018-04-14 18:15:33 +01:00 committed by Lonami
parent ace715e059
commit 0017ce30e6

View File

@ -494,6 +494,7 @@ class TelegramClient(TelegramBareClient):
self.disconnect()
self.session.delete()
self._authorized = False
return True
def get_me(self, input_peer=False):