From c407b73803844dfad5287656b55c2a0b2f3b2d1c Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 11 Feb 2022 15:22:14 +0100 Subject: [PATCH] Fix WebSocket uppercase --- src/ejabberd_options_doc.erl | 4 ++-- src/mod_bosh.erl | 2 +- src/mod_conversejs.erl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ejabberd_options_doc.erl b/src/ejabberd_options_doc.erl index 3bfaa3078..9d4cea829 100644 --- a/src/ejabberd_options_doc.erl +++ b/src/ejabberd_options_doc.erl @@ -1376,14 +1376,14 @@ doc() -> "protect against connections from other domains than given " "in the configuration file. In this way, the lower layer load " "balancer can be chosen for a specific ejabberd implementation " - "while still providing a secure Websocket connection. " + "while still providing a secure WebSocket connection. " "The default value is 'ignore'. An example value of the 'URL' is " "\"https://test.example.org:8081\".")}}, {websocket_ping_interval, #{value => "timeout()", desc => ?T("Defines time between pings sent by the server to a client " - "(Websocket level protocol pings are used for this) to keep " + "(WebSocket level protocol pings are used for this) to keep " "a connection active. If the client doesn't respond to two " "consecutive pings, the connection will be assumed as closed. " "The value of '0' can be used to disable the feature. This option " diff --git a/src/mod_bosh.erl b/src/mod_bosh.erl index 7bb331b2e..8f2690d60 100644 --- a/src/mod_bosh.erl +++ b/src/mod_bosh.erl @@ -207,7 +207,7 @@ mod_doc() -> "It makes it possible to simulate long lived connections " "required by XMPP over the HTTP protocol. In practice, " "this module makes it possible to use XMPP in a browser without " - "Websocket support and more generally to have a way to use " + "WebSocket support and more generally to have a way to use " "XMPP while having to get through an HTTP proxy."), opts => [{json, diff --git a/src/mod_conversejs.erl b/src/mod_conversejs.erl index c1e3df9bd..3b9efef67 100644 --- a/src/mod_conversejs.erl +++ b/src/mod_conversejs.erl @@ -133,9 +133,9 @@ mod_doc() -> " websocket_url: \"ws://example.org:5280/websocket\""], opts => [{websocket_url, - #{value => ?T("WebsocketURL"), + #{value => ?T("WebSocketURL"), desc => - ?T("A websocket URL to which Converse.js can connect to.")}}, + ?T("A WebSocket URL to which Converse.js can connect to.")}}, {bosh_service_url, #{value => ?T("BoshURL"), desc =>