summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-10 17:09:27 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-10 17:09:27 +0300
commit75e084b3950dc3bdba33e6b611b4c4a3f370dc72 (patch)
tree959eb8ca7bb5eac10a0ea291b3e250e5516760cd /protocols/Telegram/src/proto.cpp
parent420da4e31280e87980178893e8b0ed8f9e90cf7a (diff)
fixes #4255 completely ("Log out" button for Telegram)
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r--protocols/Telegram/src/proto.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index 7817d7e4ff..94c26a3d62 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -208,11 +208,6 @@ void CTelegramProto::OnBuildProtoMenu()
void CTelegramProto::OnErase()
{
- if (getByte(DBKEY_AUTHORIZED)) {
- m_bUnregister = true;
- ServerThread(0);
- }
-
DeleteDirectoryTreeW(GetProtoFolder(), false);
}