From 47e83290f474e01aa8e247375abcd2bffb9a2bf5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 23 Feb 2019 19:16:49 +0300 Subject: fixes #1843 ([discord] Group chat history is no longer retrieved on login) --- protocols/Discord/src/dispatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Discord/src/dispatch.cpp') diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index ab0e4e63b8..57b78c4df9 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -532,7 +532,7 @@ void CDiscordProto::OnCommandReady(const JSONNode &pRoot) SnowFlake oldMsgId = getId(pUser->hContact, DB_KEY_LASTMSGID); if (pUser->lastMsgId > oldMsgId) - RetrieveHistory(pUser->hContact, MSG_AFTER, oldMsgId, 99); + RetrieveHistory(pUser, MSG_AFTER, oldMsgId, 99); } const JSONNode &readState = pRoot["read_state"]; -- cgit v1.2.3