diff options
Diffstat (limited to 'protocols/Telegram/src/auth.cpp')
-rw-r--r-- | protocols/Telegram/src/auth.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/Telegram/src/auth.cpp b/protocols/Telegram/src/auth.cpp index 9591f5fc98..22254ea460 100644 --- a/protocols/Telegram/src/auth.cpp +++ b/protocols/Telegram/src/auth.cpp @@ -100,12 +100,7 @@ void CMTProto::ProcessAuth(TD::updateAuthorizationState *pObj) OnLoggedIn(); break; - case TD::authorizationStateLoggingOut::ID: - debugLogA("Server required us to log out, exiting"); - LogOut(); - break; - - case TD::authorizationStateClosing::ID: + case TD::authorizationStateClosed::ID: debugLogA("Connection terminated, exiting"); LogOut(); break; |