Don't respond to notifications
This commit is contained in:
parent
d35e733c6e
commit
b85d1d74a4
|
@ -2149,6 +2149,7 @@ client_ws_on_message (void *user_data,
|
|||
struct str response;
|
||||
str_init (&response);
|
||||
process_json_rpc (self->client.ctx, data, len, &response);
|
||||
if (response.len)
|
||||
ws_handler_send (&self->handler,
|
||||
WS_OPCODE_TEXT, response.str, response.len);
|
||||
str_free (&response);
|
||||
|
|
Loading…
Reference in New Issue