diff options
Diffstat (limited to 'protocols/Discord/src/groupchat.cpp')
-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 d8ac8eb4dc..cc26dbb162 100644 --- a/protocols/Discord/src/groupchat.cpp +++ b/protocols/Discord/src/groupchat.cpp @@ -168,7 +168,7 @@ int CDiscordProto::GroupchatEventHook(WPARAM, LPARAM lParam) JSONNode body; body << WCHAR_PARAM("content", wszText); CMStringA szUrl(FORMAT, "/channels/%S/messages", gch->ptszID); - Push(new AsyncHttpRequest(this, REQUEST_POST, szUrl, &CDiscordProto::OnReceiveMessage, &body)); + Push(new AsyncHttpRequest(this, REQUEST_POST, szUrl, nullptr, &body)); } } break; |