summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-06 15:19:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-06 15:19:13 +0300
commit88aa2752d994043599f9662b9fa2b629f07058c2 (patch)
treecf5416b4267f2b2298e2c0afde24dd269a396320 /protocols/Telegram/src/server.cpp
parent239ea74ddedb7d3483d08cd599647edcbe4ab9c4 (diff)
fixes #4618 (Telegram: после успешного логина нужно засерять поля логина и пароля в настройках)
Diffstat (limited to 'protocols/Telegram/src/server.cpp')
-rw-r--r--protocols/Telegram/src/server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp
index 5e71eafedc..e4cd70693a 100644
--- a/protocols/Telegram/src/server.cpp
+++ b/protocols/Telegram/src/server.cpp
@@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void CTelegramProto::OnEndSession(td::ClientManager::Response&)
{
m_bTerminated = true;
+ delSetting(DBKEY_AUTHORIZED);
}
void __cdecl CTelegramProto::ServerThread(void *)