diff --git a/src/mod_matrix_gw.erl b/src/mod_matrix_gw.erl index f65131de2..d880d745e 100644 --- a/src/mod_matrix_gw.erl +++ b/src/mod_matrix_gw.erl @@ -24,7 +24,7 @@ %%%---------------------------------------------------------------------- -module(mod_matrix_gw). --ifndef(OTP_BELOW_24). +-ifndef(OTP_BELOW_25). -author('alexey@process-one.net'). @@ -883,7 +883,8 @@ mod_options(Host) -> mod_doc() -> #{desc => - [?T("https://matrix.org/[Matrix] gateway.")], + [?T("https://matrix.org/[Matrix] gateway. " + "Erlang/OTP 25 or higher is required to use this module.")], note => "added in 24.02", example => ["listen:", diff --git a/src/mod_matrix_gw_room.erl b/src/mod_matrix_gw_room.erl index aa054eb85..6ceff2141 100644 --- a/src/mod_matrix_gw_room.erl +++ b/src/mod_matrix_gw_room.erl @@ -24,7 +24,7 @@ %%%------------------------------------------------------------------- -module(mod_matrix_gw_room). --ifndef(OTP_BELOW_24). +-ifndef(OTP_BELOW_25). -behaviour(gen_statem). %% API diff --git a/src/mod_matrix_gw_s2s.erl b/src/mod_matrix_gw_s2s.erl index 6caceb032..533f250c5 100644 --- a/src/mod_matrix_gw_s2s.erl +++ b/src/mod_matrix_gw_s2s.erl @@ -23,7 +23,7 @@ %%% %%%------------------------------------------------------------------- -module(mod_matrix_gw_s2s). --ifndef(OTP_BELOW_24). +-ifndef(OTP_BELOW_25). -behaviour(gen_statem). %% API diff --git a/src/mod_matrix_gw_sup.erl b/src/mod_matrix_gw_sup.erl index b0c757a5c..f7730a266 100644 --- a/src/mod_matrix_gw_sup.erl +++ b/src/mod_matrix_gw_sup.erl @@ -20,7 +20,7 @@ %%% %%%---------------------------------------------------------------------- -module(mod_matrix_gw_sup). --ifndef(OTP_BELOW_24). +-ifndef(OTP_BELOW_25). -behaviour(supervisor). %% API