summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-03 21:43:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-03 21:43:51 +0300
commit8ae438778b5cf6d531294be52f92bf4ec3fb4808 (patch)
tree9bb699f7544ec8aea7efa8efe0a60057f9fafd1e
parent1ef4b90ce07ccc4e372f0b8179c69438bff24ae2 (diff)
we mark all contacts as offline after a protocol goes offline
-rw-r--r--protocols/Discord/src/connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/connection.cpp b/protocols/Discord/src/connection.cpp
index 287beca884..ec7c12dca3 100644
--- a/protocols/Discord/src/connection.cpp
+++ b/protocols/Discord/src/connection.cpp
@@ -83,6 +83,8 @@ void CDiscordProto::OnLoggedOut()
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)m_iStatus, ID_STATUS_OFFLINE);
m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;
+
+ SetAllContactStatuses(ID_STATUS_OFFLINE);
}
void CDiscordProto::ShutdownSession()