diff --git a/src/mod_avatar.erl b/src/mod_avatar.erl index 0db65c253..75325ed37 100644 --- a/src/mod_avatar.erl +++ b/src/mod_avatar.erl @@ -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]). diff --git a/src/mod_client_state.erl b/src/mod_client_state.erl index 14a49fdba..ff97da750 100644 --- a/src/mod_client_state.erl +++ b/src/mod_client_state.erl @@ -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). diff --git a/src/mod_delegation.erl b/src/mod_delegation.erl index f517651da..e639199d7 100644 --- a/src/mod_delegation.erl +++ b/src/mod_delegation.erl @@ -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). diff --git a/src/mod_host_meta.erl b/src/mod_host_meta.erl index abbca332a..e1f7f141b 100644 --- a/src/mod_host_meta.erl +++ b/src/mod_host_meta.erl @@ -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). diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl index bda66253e..86394551d 100644 --- a/src/mod_http_upload.erl +++ b/src/mod_http_upload.erl @@ -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. diff --git a/src/mod_jidprep.erl b/src/mod_jidprep.erl index 605ca53b1..b3c475fba 100644 --- a/src/mod_jidprep.erl +++ b/src/mod_jidprep.erl @@ -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). diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 7d9e308f5..de7a7a013 100644 --- a/src/mod_mam.erl +++ b/src/mod_mam.erl @@ -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'}). diff --git a/src/mod_mix.erl b/src/mod_mix.erl index 315c7b80d..7066911b9 100644 --- a/src/mod_mix.erl +++ b/src/mod_mix.erl @@ -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]). diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index 79d7da928..3a48d8a64 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -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). diff --git a/src/mod_multicast.erl b/src/mod_multicast.erl index a702f0f74..9b51d72a7 100644 --- a/src/mod_multicast.erl +++ b/src/mod_multicast.erl @@ -27,7 +27,7 @@ -author('badlop@process-one.net'). --protocol({xep, 33, '1.1'}). +-protocol({xep, 33, '1.1', '15.04', "", ""}). -behaviour(gen_server). diff --git a/src/mod_offline.erl b/src/mod_offline.erl index a66ffb20d..6720523ac 100644 --- a/src/mod_offline.erl +++ b/src/mod_offline.erl @@ -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'}). diff --git a/src/mod_private.erl b/src/mod_private.erl index f6cebbcda..38f9ecfc6 100644 --- a/src/mod_private.erl +++ b/src/mod_private.erl @@ -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). diff --git a/src/mod_privilege.erl b/src/mod_privilege.erl index 32d6067da..f4bf5b21f 100644 --- a/src/mod_privilege.erl +++ b/src/mod_privilege.erl @@ -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). diff --git a/src/mod_push.erl b/src/mod_push.erl index 5389e3dfb..4216404c5 100644 --- a/src/mod_push.erl +++ b/src/mod_push.erl @@ -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). diff --git a/src/mod_stream_mgmt.erl b/src/mod_stream_mgmt.erl index 67ab815d1..216e6423a 100644 --- a/src/mod_stream_mgmt.erl +++ b/src/mod_stream_mgmt.erl @@ -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]). diff --git a/src/mod_stun_disco.erl b/src/mod_stun_disco.erl index 26a2646cc..2e9501dec 100644 --- a/src/mod_stun_disco.erl +++ b/src/mod_stun_disco.erl @@ -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).