diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-14 20:58:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-14 20:58:41 +0300 |
commit | 415efcef4174b19bfbca1a770ed1ce8f5ba7a3a3 (patch) | |
tree | a263871b0ac03c01dc4975fcef44e9d694f8615b /protocols | |
parent | 7fdc3b31c25c92a510fd4f1240507e329f987298 (diff) |
we better turn off these track commands, because they are not documented
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Discord/src/proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index ed5d9fe3e7..50b6aeeeac 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -403,7 +403,7 @@ void CDiscordProto::MarkReadTimerProc(HWND hwnd, UINT, UINT_PTR id, DWORD) while (ppro->arMarkReadQueue.getCount()) { CDiscordUser *pUser = ppro->arMarkReadQueue[0]; CMStringA szUrl(FORMAT, "/channels/%lld/messages/%lld/ack", pUser->channelId, pUser->lastMessageId); - ppro->Push(new AsyncHttpRequest(ppro, REQUEST_POST, szUrl, &CDiscordProto::OnReceiveMessageAck)); + ppro->Push(new AsyncHttpRequest(ppro, REQUEST_POST, szUrl, nullptr)); ppro->arMarkReadQueue.remove(0); } KillTimer(hwnd, id); |