mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 23:36:37 +02:00
relay/api: always set "body_type" and "body" (null if there is no body) in websocket frame
This commit is contained in:
@@ -58,7 +58,9 @@ extern int relay_api_protocol_command_delay;
|
||||
STRCMP_EQUAL("{\"code\":" #__code "," \
|
||||
"\"message\":\"" __message "\"," \
|
||||
"\"request\":\"" __request "\"," \
|
||||
"\"request_body\":" __body "" \
|
||||
"\"request_body\":" __body "," \
|
||||
"\"body_type\":null," \
|
||||
"\"body\":null" \
|
||||
"}", \
|
||||
data_sent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user