diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-11 15:28:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-11 15:29:06 +0300 |
commit | 499aee4b2b43b2835a4fb13410cd195fb5a4311a (patch) | |
tree | 2bb70f2b64a96b31ebbb32cec1d37e4b4465bc5c /protocols/Discord/src/connection.cpp | |
parent | 16fe45e4297e335f76719fcade05999a45a85349 (diff) |
message acks: read confirmations
Diffstat (limited to 'protocols/Discord/src/connection.cpp')
-rw-r--r-- | protocols/Discord/src/connection.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/connection.cpp b/protocols/Discord/src/connection.cpp index 3b82e4112b..d3c44b2d9a 100644 --- a/protocols/Discord/src/connection.cpp +++ b/protocols/Discord/src/connection.cpp @@ -77,6 +77,8 @@ void CDiscordProto::OnLoggedOut() m_bTerminated = true; m_iGatewaySeq = 0; + KillTimer(g_hwndHeartbeat, (UINT_PTR)this); + ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)m_iStatus, ID_STATUS_OFFLINE); m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE; } |