summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-09 17:11:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-09 17:11:28 +0300
commitee2dac14cc7ef216f42ff46794eea5d37ebc6871 (patch)
tree98bd5d11d0311569b7707128f2b9042c7ea2ad5b /protocols/Discord/src/server.cpp
parent4f8c1e527ab9b5421f3ebb1c61ffe9a859df82e4 (diff)
INT64_PARAM - a new type of SnowFlake http params
Diffstat (limited to 'protocols/Discord/src/server.cpp')
-rw-r--r--protocols/Discord/src/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Discord/src/server.cpp b/protocols/Discord/src/server.cpp
index 9164107309..b0d836e889 100644
--- a/protocols/Discord/src/server.cpp
+++ b/protocols/Discord/src/server.cpp
@@ -31,9 +31,9 @@ void CDiscordProto::RetrieveHistory(MCONTACT hContact, CDiscordHitoryOp iOp, Sno
pReq << INT_PARAM("limit", iLimit);
switch (iOp) {
case MSG_AFTER:
- pReq << CHAR_PARAM("after", CMStringA(FORMAT, "%lld", msgid)); break;
+ pReq << INT64_PARAM("after", msgid); break;
case MSG_BEFORE:
- pReq << CHAR_PARAM("before", CMStringA(FORMAT, "%lld", msgid)); break;
+ pReq << INT64_PARAM("before", msgid); break;
}
pReq->pUserInfo = pUser;
Push(pReq);