diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-24 11:07:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-24 11:07:00 +0300 |
commit | 7c9e299626e8ce572d69c9af176df49a819b6cbb (patch) | |
tree | cdc059c34cc3b21925ed37190d61c7f66858bc0c /protocols/Discord | |
parent | 8318809aa0961802fd12438330051d3ba91eb6c4 (diff) |
WebSocket: different stubs for sending text & binary packets
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/gateway.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp index a8a0ca4efa..937cc11d89 100644 --- a/protocols/Discord/src/gateway.cpp +++ b/protocols/Discord/src/gateway.cpp @@ -27,7 +27,7 @@ bool CDiscordProto::GatewaySend(const JSONNode &pRoot) json_string szText = pRoot.write(); debugLogA("Gateway send: %s", szText.c_str()); - WebSocket_Send(m_hGatewayConnection, szText.c_str(), szText.length()); + WebSocket_SendText(m_hGatewayConnection, szText.c_str()); return true; } |