summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/gateway.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-02 20:14:31 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-02 20:14:31 +0300
commit0fd6fe57ebca7ce96403487ca335d72dae249578 (patch)
treef9a3f8e7b702476c591b24a0fafaeba5cce5fca8 /protocols/Discord/src/gateway.cpp
parent0f43b99e7dbdeaa8cba7d2c17415782f0f9b7cb3 (diff)
fixes #4936 (Discord: After exiting Miranda invisible=>online)
Diffstat (limited to 'protocols/Discord/src/gateway.cpp')
-rw-r--r--protocols/Discord/src/gateway.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp
index eb29043394..c038234aec 100644
--- a/protocols/Discord/src/gateway.cpp
+++ b/protocols/Discord/src/gateway.cpp
@@ -76,7 +76,7 @@ bool CDiscordProto::GatewayThreadWorker()
m_bConnected = true;
m_ws.run();
m_bConnected = false;
- return true;
+ return !m_bTerminated;
}
//////////////////////////////////////////////////////////////////////////////////////