diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-02 20:14:31 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-02 20:14:31 +0300 |
commit | 0fd6fe57ebca7ce96403487ca335d72dae249578 (patch) | |
tree | f9a3f8e7b702476c591b24a0fafaeba5cce5fca8 /protocols/Discord/src/gateway.cpp | |
parent | 0f43b99e7dbdeaa8cba7d2c17415782f0f9b7cb3 (diff) |
fixes #4936 (Discord: After exiting Miranda invisible=>online)
Diffstat (limited to 'protocols/Discord/src/gateway.cpp')
-rw-r--r-- | protocols/Discord/src/gateway.cpp | 2 |
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;
}
//////////////////////////////////////////////////////////////////////////////////////
|