From 0ec9062249099b250cdaa3e6641376f261e38382 Mon Sep 17 00:00:00 2001 From: Janusz Jakubiec Date: Wed, 19 Jul 2023 08:08:32 +0200 Subject: [PATCH] Updating XEPs --- src/mod_bosh.erl | 2 +- src/mod_caps.erl | 2 +- src/mod_disco.erl | 2 +- src/mod_ping.erl | 2 +- src/mod_time.erl | 2 +- src/offline/mod_offline.erl | 2 +- src/offline/mod_offline_chatmarkers.erl | 2 +- src/pubsub/mod_pubsub.erl | 6 +++--- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/mod_bosh.erl b/src/mod_bosh.erl index 754a652c928..4df7da858d4 100644 --- a/src/mod_bosh.erl +++ b/src/mod_bosh.erl @@ -11,7 +11,7 @@ -behaviour(cowboy_loop). -xep([{xep, 206}, {version, "1.4"}]). --xep([{xep, 124}, {version, "1.11"}]). +-xep([{xep, 124}, {version, "1.11.2"}]). %% gen_mod callbacks -export([start/2, diff --git a/src/mod_caps.erl b/src/mod_caps.erl index c48f48b666a..7b461719092 100644 --- a/src/mod_caps.erl +++ b/src/mod_caps.erl @@ -29,7 +29,7 @@ -author('henoch@dtek.chalmers.se'). --xep([{xep, 115}, {version, "1.5"}]). +-xep([{xep, 115}, {version, "1.6.0"}]). -behaviour(gen_server). -behaviour(gen_mod). diff --git a/src/mod_disco.erl b/src/mod_disco.erl index ff420c11006..68a7a98a59a 100644 --- a/src/mod_disco.erl +++ b/src/mod_disco.erl @@ -26,7 +26,7 @@ -module(mod_disco). -author('alexey@process-one.net'). -xep([{xep, 30}, {version, "2.5rc3"}]). --xep([{xep, 157}, {version, "1.0"}]). +-xep([{xep, 157}, {version, "1.1.1"}]). -behaviour(gen_mod). -behaviour(mongoose_module_metrics). diff --git a/src/mod_ping.erl b/src/mod_ping.erl index 78f3bb33569..2811d97c572 100644 --- a/src/mod_ping.erl +++ b/src/mod_ping.erl @@ -9,7 +9,7 @@ -author('piotr.nosek@erlang-solutions.com'). -behavior(gen_mod). --xep([{xep, 199}, {version, "2.0"}]). +-xep([{xep, 199}, {version, "2.0.1"}]). -include("jlib.hrl"). -include("mongoose_logger.hrl"). diff --git a/src/mod_time.erl b/src/mod_time.erl index f0c1838d3cb..01d0704f486 100644 --- a/src/mod_time.erl +++ b/src/mod_time.erl @@ -22,7 +22,7 @@ -include("mongoose_config_spec.hrl"). -xep([{xep, 202}, {version, "2.0"}]). --xep([{xep, 82}, {version, "1.1"}]). +-xep([{xep, 82}, {version, "1.1.1"}]). -spec start(HostType :: mongooseim:host_type(), gen_mod:module_opts()) -> ok | {error, atom()}. start(HostType, #{iqdisc := IQDisc}) -> diff --git a/src/offline/mod_offline.erl b/src/offline/mod_offline.erl index 330583cdd44..a488ec73798 100644 --- a/src/offline/mod_offline.erl +++ b/src/offline/mod_offline.erl @@ -26,7 +26,7 @@ -module(mod_offline). -author('alexey@process-one.net'). --xep([{xep, 160}, {version, "1.0"}]). +-xep([{xep, 160}, {version, "1.0.1"}]). -xep([{xep, 23}, {version, "1.3"}]). -xep([{xep, 22}, {version, "1.4"}]). -xep([{xep, 85}, {version, "2.1"}]). diff --git a/src/offline/mod_offline_chatmarkers.erl b/src/offline/mod_offline_chatmarkers.erl index 29e00748a78..bf50875224a 100644 --- a/src/offline/mod_offline_chatmarkers.erl +++ b/src/offline/mod_offline_chatmarkers.erl @@ -30,7 +30,7 @@ %%% @end %%%---------------------------------------------------------------------------- -module(mod_offline_chatmarkers). --xep([{xep, 160}, {version, "1.0"}]). +-xep([{xep, 160}, {version, "1.0.1"}]). -behaviour(gen_mod). -behaviour(mongoose_module_metrics). diff --git a/src/pubsub/mod_pubsub.erl b/src/pubsub/mod_pubsub.erl index cbb57273250..252f8caeb98 100644 --- a/src/pubsub/mod_pubsub.erl +++ b/src/pubsub/mod_pubsub.erl @@ -48,9 +48,9 @@ -author('christophe.romain@process-one.net'). -xep([{xep, 60}, {version, "1.13-1"}]). --xep([{xep, 163}, {version, "1.2"}]). --xep([{xep, 248}, {version, "0.2"}]). --xep([{xep, 277}, {version, "0.6.1"}]). +-xep([{xep, 163}, {version, "1.2.2"}]). +-xep([{xep, 248}, {version, "0.3.0"}]). +-xep([{xep, 277}, {version, "0.6.5"}]). %% https://xmpp.org/extensions/xep-0384.html#server-side -xep([{xep, 384}, {version, "0.8.3"}]).