From a70381e7c17b6e70126f5b8946b6c1f1ece7c5e5 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 11 Jan 2023 15:17:27 +0100 Subject: [PATCH] Annotate options that change in ejabberd 23.01 --- src/ejabberd_options_doc.erl | 7 ++++--- src/mod_mqtt_bridge.erl | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ejabberd_options_doc.erl b/src/ejabberd_options_doc.erl index c22c7530a..322ed5605 100644 --- a/src/ejabberd_options_doc.erl +++ b/src/ejabberd_options_doc.erl @@ -455,7 +455,7 @@ doc() -> ]}}, {captcha_cmd, #{value => ?T("Path | ModuleName"), - note => "improved in 23.xx", + note => "improved in 23.01", desc => ?T("Full path to a script that generates http://../basic/#captcha[CAPTCHA] images. " "@VERSION@ is replaced with ejabberd version number in XX.YY format. " @@ -838,7 +838,7 @@ doc() -> "by. Defaults to 1 second.")}}, {log_modules_fully, #{value => "[Module, ...]", - note => "added in 23.xx", + note => "added in 23.01", desc => ?T("List of modules that will log everything " "independently from the general loglevel option.")}}, @@ -967,11 +967,12 @@ doc() -> "The default value is '80' percents.")}}, {outgoing_s2s_families, #{value => "[ipv6 | ipv4, ...]", + note => "changed in 23.01", desc => ?T("Specify which address families to try, in what order. " "The default is '[ipv6, ipv4]' which means it first tries " "connecting with IPv6, if that fails it tries using IPv4." - "This option is obsolete and irrelevant when using ejabberd 23.xx " + "This option is obsolete and irrelevant when using ejabberd 23.01 " "and Erlang/OTP 22, or newer versions of them.")}}, {outgoing_s2s_ipv4_address, #{value => "Address", diff --git a/src/mod_mqtt_bridge.erl b/src/mod_mqtt_bridge.erl index 268d2bed7..52d8c9d5b 100644 --- a/src/mod_mqtt_bridge.erl +++ b/src/mod_mqtt_bridge.erl @@ -173,7 +173,8 @@ mod_opt_type(servers) -> %%%=================================================================== mod_doc() -> #{desc => - ?T("This module adds ability to replicate data from or to external servers"), + ?T("This module adds ability to replicate data from or to external servers. " + "It is available since ejabberd 23.01."), opts => [{servers, #{value => "{ServerUrl: Replication informations}",