Skip to content

Commit

Permalink
Update src/mod_time.erl
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Chrząszcz <[email protected]>
  • Loading branch information
2 people authored and Janusz Jakubiec committed Mar 1, 2022
1 parent c9c0fbf commit 3686ab5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion big_tests/tests/mod_time_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ suite() ->
%%--------------------------------------------------------------------

init_per_suite(Config) ->
dynamic_modules:start(domain_helper:host_type(), mod_time, #{iqdisc => one_queue}),
dynamic_modules:start(domain_helper:host_type(), mod_time, config_parser_helper:default_mod_config(mod_time)),
escalus:init_per_suite(Config).

end_per_suite(Config) ->
Expand Down
2 changes: 1 addition & 1 deletion src/mod_time.erl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
-xep([{xep, 202}, {version, "2.0"}]).
-xep([{xep, 82}, {version, "1.1"}]).

-spec start(HostType :: mongooseim:host_type(), gen_mod:module_opts()) -> ok | {erorr, atom()}.
-spec start(HostType :: mongooseim:host_type(), gen_mod:module_opts()) -> ok | {error, atom()}.
start(HostType, #{iqdisc := IQDisc}) ->
gen_iq_handler:add_iq_handler_for_domain(HostType, ?NS_TIME, ejabberd_local,
fun ?MODULE:process_local_iq/5, #{}, IQDisc).
Expand Down

0 comments on commit 3686ab5

Please sign in to comment.