diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-23 19:16:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-23 19:16:49 +0300 |
commit | 47e83290f474e01aa8e247375abcd2bffb9a2bf5 (patch) | |
tree | 5d301325e43a23dd56e11e11dfe9956eeb602b93 /protocols/Discord/src/dispatch.cpp | |
parent | 691b1c649ab54ebfbb66eb3cba707b132b1134a8 (diff) |
fixes #1843 ([discord] Group chat history is no longer retrieved on login)
Diffstat (limited to 'protocols/Discord/src/dispatch.cpp')
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"]; |