diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-09 19:15:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-09 19:15:16 +0300 |
commit | f411d300ca39423ba9fd36e9206b0379fbeb5487 (patch) | |
tree | 5895bad492d11f706572f9aabaed6e965cec031b /protocols/Discord/src/dispatch.cpp | |
parent | 86e49c1f6a1f4b978fd700590747c1a03ff7d156 (diff) |
fix for issues with connection closing
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 0cb74c06a3..a2f0320b08 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -168,7 +168,7 @@ void CDiscordProto::OnCommandReady(const JSONNode &pRoot) SnowFlake oldMsgId = getId(pUser->hContact, DB_KEY_LASTMSGID); if (pUser->lastMessageId > oldMsgId) - RetrieveHistory(pUser->hContact, MSG_AFTER, oldMsgId); + RetrieveHistory(pUser->hContact, MSG_AFTER, oldMsgId, 99); } } |