diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-26 14:32:36 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-26 14:32:36 +0300 |
commit | 3ac978c8338af177cde02e5c1c1d285170027d82 (patch) | |
tree | 163c7d71bf3870bee3b950ef8452c9409e6ad206 /protocols/Discord/src | |
parent | 9d92a46105e5203c829a0e1958285e74a984a7f4 (diff) |
wrong format
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/groupchat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/groupchat.cpp b/protocols/Discord/src/groupchat.cpp index 7bbab9dbd6..fa317b5171 100644 --- a/protocols/Discord/src/groupchat.cpp +++ b/protocols/Discord/src/groupchat.cpp @@ -36,7 +36,7 @@ int CDiscordProto::GroupchatEventHook(WPARAM, LPARAM lParam) Chat_UnescapeTags(wszText); JSONNode body; body << WCHAR_PARAM("content", wszText); - CMStringA szUrl(FORMAT, "/channels/%s/messages", gch->pDest->ptszID); + CMStringA szUrl(FORMAT, "/channels/%S/messages", gch->pDest->ptszID); Push(new AsyncHttpRequest(this, REQUEST_POST, szUrl, &CDiscordProto::OnReceiveMessage, &body)); } } |