25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01:00

Add some missing RFCs and remove problematic leading 0 in xep versions

This commit is contained in:
Badlop 2022-11-04 11:34:45 +01:00
parent c9b3d32031
commit b73a9234d9
8 changed files with 14 additions and 2 deletions

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net'). -author('alexey@process-one.net').
-compile({no_auto_import, [{halt, 0}]}). -compile({no_auto_import, [{halt, 0}]}).
-protocol({rfc, 6122}).
-protocol({rfc, 7590}).
-protocol({xep, 4, '2.9'}). -protocol({xep, 4, '2.9'}).
-protocol({xep, 86, '1.0'}). -protocol({xep, 86, '1.0'}).
-protocol({xep, 106, '1.1'}). -protocol({xep, 106, '1.1'}).
@ -36,6 +38,7 @@
-protocol({xep, 216, '1.0'}). -protocol({xep, 216, '1.0'}).
-protocol({xep, 243, '1.0'}). -protocol({xep, 243, '1.0'}).
-protocol({xep, 270, '1.0'}). -protocol({xep, 270, '1.0'}).
-protocol({xep, 368, '1.1.0'}).
-export([start/0, stop/0, halt/0, start_app/1, start_app/2, -export([start/0, stop/0, halt/0, start_app/1, start_app/2,
get_pid_file/0, check_apps/0, module_name/1, is_loaded/0]). get_pid_file/0, check_apps/0, module_name/1, is_loaded/0]).

View File

@ -28,6 +28,8 @@
-author('alexey@process-one.net'). -author('alexey@process-one.net').
-protocol({rfc, 5802}).
%% External exports %% External exports
-export([start_link/0, host_up/1, host_down/1, config_reloaded/0, -export([start_link/0, host_up/1, host_down/1, config_reloaded/0,
set_password/3, check_password/4, set_password/3, check_password/4,

View File

@ -22,6 +22,10 @@
-module(ejabberd_c2s). -module(ejabberd_c2s).
-behaviour(xmpp_stream_in). -behaviour(xmpp_stream_in).
-behaviour(ejabberd_listener). -behaviour(ejabberd_listener).
-protocol({rfc, 3920}).
-protocol({rfc, 3921}).
-protocol({rfc, 6120}).
-protocol({rfc, 6121}). -protocol({rfc, 6121}).
%% ejabberd_listener callbacks %% ejabberd_listener callbacks

View File

@ -38,6 +38,7 @@
-module(ejabberd_websocket). -module(ejabberd_websocket).
-protocol({rfc, 6455}). -protocol({rfc, 6455}).
-protocol({rfc, 7395}).
-author('ecestari@process-one.net'). -author('ecestari@process-one.net').

View File

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

View File

@ -25,6 +25,7 @@
-module(mod_muc). -module(mod_muc).
-author('alexey@process-one.net'). -author('alexey@process-one.net').
-protocol({xep, 45, '1.25'}). -protocol({xep, 45, '1.25'}).
-protocol({xep, 249, '1.2'}).
-ifndef(GEN_SERVER). -ifndef(GEN_SERVER).
-define(GEN_SERVER, gen_server). -define(GEN_SERVER, gen_server).
-endif. -endif.

View File

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

View File

@ -29,6 +29,7 @@
-protocol({xep, 54, '1.2'}). -protocol({xep, 54, '1.2'}).
-protocol({xep, 55, '1.3'}). -protocol({xep, 55, '1.3'}).
-protocol({xep, 153, '1.1'}).
-behaviour(gen_server). -behaviour(gen_server).
-behaviour(gen_mod). -behaviour(gen_mod).