mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Document ejabberd version of the new modules
This commit is contained in:
parent
71ad7c368d
commit
bdd8ba115e
@ -1576,7 +1576,7 @@ get_commands_spec() ->
|
|||||||
#ejabberd_commands{name = get_mam_count, tags = [mam],
|
#ejabberd_commands{name = get_mam_count, tags = [mam],
|
||||||
desc = "Get number of MAM messages in a local user archive",
|
desc = "Get number of MAM messages in a local user archive",
|
||||||
module = ?MODULE, function = get_mam_count,
|
module = ?MODULE, function = get_mam_count,
|
||||||
note = "added in 24.xx",
|
note = "added in 24.10",
|
||||||
policy = user,
|
policy = user,
|
||||||
args = [],
|
args = [],
|
||||||
result_example = 5,
|
result_example = 5,
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
-author('amuhar3@gmail.com').
|
-author('amuhar3@gmail.com').
|
||||||
|
|
||||||
-protocol({xep, 356, '0.4.1', '24.xx', "", ""}).
|
-protocol({xep, 356, '0.4.1', '24.10', "", ""}).
|
||||||
|
|
||||||
-behaviour(gen_server).
|
-behaviour(gen_server).
|
||||||
-behaviour(gen_mod).
|
-behaviour(gen_mod).
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(mod_s2s_bidi).
|
-module(mod_s2s_bidi).
|
||||||
-behaviour(gen_mod).
|
-behaviour(gen_mod).
|
||||||
-protocol({xep, 288, '1.0.1'}).
|
-protocol({xep, 288, '1.0.1', '24.10', "complete", ""}).
|
||||||
|
|
||||||
%% gen_mod API
|
%% gen_mod API
|
||||||
-export([start/2, stop/1, reload/3, depends/2, mod_options/1]).
|
-export([start/2, stop/1, reload/3, depends/2, mod_options/1]).
|
||||||
@ -65,6 +65,7 @@ mod_doc() ->
|
|||||||
"https://xmpp.org/extensions/xep-0288.html"
|
"https://xmpp.org/extensions/xep-0288.html"
|
||||||
"[XEP-0288: Bidirectional Server-to-Server Connections] that allows using "
|
"[XEP-0288: Bidirectional Server-to-Server Connections] that allows using "
|
||||||
"single s2s connection to communicate in both directions.")],
|
"single s2s connection to communicate in both directions.")],
|
||||||
|
note => "added in 24.10",
|
||||||
opts => [],
|
opts => [],
|
||||||
example =>
|
example =>
|
||||||
["modules:",
|
["modules:",
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%%%-------------------------------------------------------------------
|
%%%-------------------------------------------------------------------
|
||||||
-module(mod_scram_upgrade).
|
-module(mod_scram_upgrade).
|
||||||
-behaviour(gen_mod).
|
-behaviour(gen_mod).
|
||||||
-protocol({xep, 480, '0.1'}).
|
-protocol({xep, 480, '0.1', '24.10', "complete", ""}).
|
||||||
|
|
||||||
%% gen_mod API
|
%% gen_mod API
|
||||||
-export([start/2, stop/1, reload/3, depends/2, mod_options/1, mod_opt_type/1]).
|
-export([start/2, stop/1, reload/3, depends/2, mod_options/1, mod_opt_type/1]).
|
||||||
@ -65,6 +65,7 @@ mod_doc() ->
|
|||||||
"https://xmpp.org/extensions/xep-0480.html"
|
"https://xmpp.org/extensions/xep-0480.html"
|
||||||
"[XEP-0480: SASL Upgrade Tasks] that allows users to upgrade "
|
"[XEP-0480: SASL Upgrade Tasks] that allows users to upgrade "
|
||||||
"passwords to more secure representation.")],
|
"passwords to more secure representation.")],
|
||||||
|
note => "added in 24.10",
|
||||||
opts => [{offered_upgrades,
|
opts => [{offered_upgrades,
|
||||||
#{value => "list(sha256, sha512)",
|
#{value => "list(sha256, sha512)",
|
||||||
desc => ?T("List with upgrade types that should be offered")}}],
|
desc => ?T("List with upgrade types that should be offered")}}],
|
||||||
|
Loading…
Reference in New Issue
Block a user