Add details about XEP implementations to some protocol attributes

This commit is contained in:
Badlop 2022-11-07 12:32:38 +01:00
parent 5a5e5bbdc6
commit b71a481e63
16 changed files with 17 additions and 16 deletions

View File

@ -22,7 +22,7 @@
%%%-------------------------------------------------------------------
-module(mod_avatar).
-behaviour(gen_mod).
-protocol({xep, 398, '0.2.0'}).
-protocol({xep, 398, '0.2.0', '17.09', "", ""}).
%% gen_mod API
-export([start/2, stop/1, reload/3, depends/2, mod_opt_type/1, mod_options/1]).

View File

@ -26,7 +26,7 @@
-module(mod_client_state).
-author('holger@zedat.fu-berlin.de').
-protocol({xep, 85, '2.1'}).
-protocol({xep, 352, '0.1'}).
-protocol({xep, 352, '0.1', '14.12', "", ""}).
-behaviour(gen_mod).

View File

@ -25,7 +25,7 @@
-author('amuhar3@gmail.com').
-protocol({xep, 355, '0.4.1'}).
-protocol({xep, 355, '0.4.1', '16.09', "", ""}).
-behaviour(gen_server).
-behaviour(gen_mod).

View File

@ -27,7 +27,7 @@
-author('badlop@process-one.net').
-protocol({xep, 156, '1.4.0'}).
-protocol({xep, 156, '1.4.0', '22.05', "", ""}).
-behaviour(gen_mod).

View File

@ -27,7 +27,7 @@
-author('holger@zedat.fu-berlin.de').
-behaviour(gen_server).
-behaviour(gen_mod).
-protocol({xep, 363, '0.1'}).
-protocol({xep, 363, '0.2', '15.10', "", ""}).
-define(SERVICE_REQUEST_TIMEOUT, 5000). % 5 seconds.
-define(CALL_TIMEOUT, 60000). % 1 minute.

View File

@ -25,7 +25,7 @@
-module(mod_jidprep).
-author('holger@zedat.fu-berlin.de').
-protocol({xep, 328, '0.1'}).
-protocol({xep, 328, '0.1', '19.09', "", ""}).
-behaviour(gen_mod).

View File

@ -25,7 +25,7 @@
-module(mod_mam).
-protocol({xep, 313, '0.6.1'}).
-protocol({xep, 313, '0.6.1', '15.06', "", ""}).
-protocol({xep, 334, '0.2'}).
-protocol({xep, 359, '0.5.0'}).
-protocol({xep, 441, '0.2.0'}).

View File

@ -24,7 +24,7 @@
-module(mod_mix).
-behaviour(gen_mod).
-behaviour(gen_server).
-protocol({xep, 369, '0.14.1'}).
-protocol({xep, 369, '0.14.1', '16.03', "", ""}).
%% API
-export([route/1]).

View File

@ -27,7 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 317, '0.1'}).
-protocol({xep, 317, '0.1', '21.12', "", "conversejs/prosody compatible"}).
-protocol({xep, 410, '1.1.0', '18.12', "", ""}).
-behaviour(p1_fsm).

View File

@ -27,7 +27,7 @@
-author('badlop@process-one.net').
-protocol({xep, 33, '1.1'}).
-protocol({xep, 33, '1.1', '15.04', "", ""}).
-behaviour(gen_server).

View File

@ -27,7 +27,7 @@
-author('alexey@process-one.net').
-protocol({xep, 13, '1.2'}).
-protocol({xep, 13, '1.2', '16.02', "", ""}).
-protocol({xep, 22, '1.4'}).
-protocol({xep, 23, '1.3'}).
-protocol({xep, 160, '1.0'}).

View File

@ -28,7 +28,7 @@
-author('alexey@process-one.net').
-protocol({xep, 49, '1.2'}).
-protocol({xep, 411, '0.2.0'}).
-protocol({xep, 411, '0.2.0', '18.12', "", ""}).
-behaviour(gen_mod).

View File

@ -25,7 +25,7 @@
-author('amuhar3@gmail.com').
-protocol({xep, 356, '0.2.1'}).
-protocol({xep, 356, '0.2.1', '16.09', "", ""}).
-behaviour(gen_server).
-behaviour(gen_mod).

View File

@ -25,7 +25,7 @@
-module(mod_push).
-author('holger@zedat.fu-berlin.de').
-protocol({xep, 357, '0.2'}).
-protocol({xep, 357, '0.2', '17.08', "", ""}).
-behaviour(gen_mod).

View File

@ -23,7 +23,7 @@
-module(mod_stream_mgmt).
-behaviour(gen_mod).
-author('holger@zedat.fu-berlin.de').
-protocol({xep, 198, '1.5.2'}).
-protocol({xep, 198, '1.5.2', '14.05', "", ""}).
%% gen_mod API
-export([start/2, stop/1, reload/3, depends/2, mod_opt_type/1, mod_options/1]).

View File

@ -25,7 +25,7 @@
-module(mod_stun_disco).
-author('holger@zedat.fu-berlin.de').
-protocol({xep, 215, '0.7'}).
-protocol({xep, 215, '0.7', '20.04', "", ""}).
-behaviour(gen_server).
-behaviour(gen_mod).