diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/relay/relay-websocket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-websocket.c b/src/plugins/relay/relay-websocket.c index 2d136620b..fa14abca1 100644 --- a/src/plugins/relay/relay-websocket.c +++ b/src/plugins/relay/relay-websocket.c @@ -301,7 +301,8 @@ relay_websocket_parse_extensions (const char *extensions, { params = weechat_string_split (exts[i], ";", " ", 0, 0, &num_params); if (params && (num_params >= 1) - && (strcmp (params[0], "permessage-deflate") == 0)) + && (strcmp (params[0], "permessage-deflate") == 0) + && (weechat_config_integer (relay_config_network_compression) > 0)) { ws_deflate->enabled = 1; ws_deflate->server_context_takeover = 1; |