From 499aee4b2b43b2835a4fb13410cd195fb5a4311a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Jan 2017 15:28:56 +0300 Subject: message acks: read confirmations --- protocols/Discord/src/connection.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/Discord/src/connection.cpp') 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; } -- cgit v1.2.3