-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactored hook handlers in ejabberd_ctl #3887
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportBase: 83.13% // Head: 83.15% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #3887 +/- ##
==========================================
+ Coverage 83.13% 83.15% +0.02%
==========================================
Files 535 535
Lines 34200 34183 -17
==========================================
- Hits 28431 28426 -5
+ Misses 5769 5757 -12
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
197c015
to
a5c4617
Compare
This comment was marked as outdated.
This comment was marked as outdated.
a5c4617
to
0983cb7
Compare
This comment was marked as outdated.
This comment was marked as outdated.
0983cb7
to
c869795
Compare
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment on style, otherwise good cleanup 😄
c869795
to
389cb78
Compare
small_tests_24 / small_tests / 389cb78 small_tests_25 / small_tests / 389cb78 ldap_mnesia_24 / ldap_mnesia / 389cb78 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 389cb78 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 389cb78 dynamic_domains_mysql_redis_25 / mysql_redis / 389cb78 ldap_mnesia_25 / ldap_mnesia / 389cb78 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 389cb78 pgsql_mnesia_24 / pgsql_mnesia / 389cb78 internal_mnesia_25 / internal_mnesia / 389cb78 riak_mnesia_24 / riak_mnesia / 389cb78 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 389cb78 pgsql_mnesia_25 / pgsql_mnesia / 389cb78 mysql_redis_25 / mysql_redis / 389cb78 mssql_mnesia_25 / odbc_mssql_mnesia / 389cb78 |
Co-authored-by: Nelson Vides <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌🏽
small_tests_24 / small_tests / 4deb53f small_tests_25 / small_tests / 4deb53f ldap_mnesia_24 / ldap_mnesia / 4deb53f dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 4deb53f dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 4deb53f ldap_mnesia_25 / ldap_mnesia / 4deb53f dynamic_domains_mysql_redis_25 / mysql_redis / 4deb53f pgsql_mnesia_24 / pgsql_mnesia / 4deb53f internal_mnesia_25 / internal_mnesia / 4deb53f dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 4deb53f riak_mnesia_24 / riak_mnesia / 4deb53f mysql_redis_25 / mysql_redis / 4deb53f pgsql_mnesia_25 / pgsql_mnesia / 4deb53f mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f smart_markers_SUITE:regular:one2one:marker_for_thread_can_be_fetched{error,{{badmatch,0},
[{escalus_story,drop_presences,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,191}]},
{escalus_story,'-start_ready_clients/2-fun-0-',3,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,135}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1350}]},
{escalus_story,start_ready_clients,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,128}]},
{lists,flatmap_1,2,[{file,"lists.erl"},{line,1335}]},
{lists,flatmap_1,2,[{file,"lists.erl"},{line,1335}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,69}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]}]}} smart_markers_SUITE:regular:one2one:remove_markers_when_removed_user{error,{{badrpc,timeout},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},
ejabberd_auth,remove_user,
[{jid,<<"bob_remove_markers_when_removed_user_3343">>,
<<"localhost">>,<<>>}]],
[{file,"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,121}]},
{smart_markers_SUITE,'-remove_markers_when_removed_user/1-fun-2-',2,
[{file,"/home/circleci/project/big_tests/tests/smart_markers_SUITE.erl"},
{line,245}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} smart_markers_SUITE:regular:one2one:repeated_markers_produce_no_warnings{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_repeated_markers_produce_no_warnings_3344@localhost/res1">>,
escalus_tcp,<0.8904.3>,
[{event_manager,<0.8873.3>},
{server,<<"localhost">>},
{username,
<<"alicE_repeated_markers_produce_no_warnings_3344">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8873.3>},
{server,<<"localhost">>},
{username,
<<"alicE_repeated_markers_produce_no_warnings_3344">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_repeated_markers_produce_no_warnings_3344">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_repeated_markers_produce_no_warnings_3344">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"6e72f1b5ecc311b8">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{smart_markers_SUITE,
'-repeated_markers_produce_no_warnings/1-fun-1-',2,
[{file,
"/home/circleci/project/big_tests/tests/smart_markers_SUITE.erl"},
{... smart_markers_SUITE:regular:one2one:marker_after_timestamp_can_be_fetched{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_marker_after_timestamp_can_be_fetched_3341@localhost/res1">>,
escalus_tcp,<0.8889.3>,
[{event_manager,<0.8852.3>},
{server,<<"localhost">>},
{username,
<<"alicE_marker_after_timestamp_can_be_fetched_3341">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8852.3>},
{server,<<"localhost">>},
{username,
<<"alicE_marker_after_timestamp_can_be_fetched_3341">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_marker_after_timestamp_can_be_fetched_3341">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_marker_after_timestamp_can_be_fetched_3341">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"dcc0808ae20d840f">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{smart_markers_SUITE,
'-marker_after_timestamp_can_be_fetched/1-fun-0-',2,
[{file,
"/home/circleci/project/big_tests/tests/smart_markers_SUITE.erl"},
... smart_markers_SUITE:regular:one2one:marker_after_timestamp_for_threadid_can_be_fetched{error,
{{fetch_marker,ok,
[{times,1,
{error,timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"bob_marker_after_timestamp_for_threadid_can_be_fetched_3342@localhost/res1">>,
escalus_tcp,<0.8906.3>,
[{event_manager,<0.8859.3>},
{server,<<"localhost">>},
{username,
<<"bOb_marker_after_timestamp_for_threadid_can_be_fetched_3342">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.8859.3>},
{server,<<"localhost">>},
{username,
<<"bOb_marker_after_timestamp_for_threadid_can_be_fetched_3342">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"bob_marker_after_timestamp_for_threadid_can_be_fetched_3342">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"bOb_marker_after_timestamp_for_threadid_can_be_fetched_3342">>},
{server,<<"localhost">>},
{password,<<"makrolika">>},
{stream_id,<<"e368e46eb307f92a">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{smart_markers_SUITE,'-verify_marker_fetch/4-fun-6-',3,
[{file,
"/home/circleci/project/big_tests/tests/smart_markers_SUITE.erl"},
{line,403}]},
{mongoose_helper,do_wait_until,2,
[{file,"/home/c... mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive{error,{{assertion_failed,assert,is_groupchat_message,
[<<"Restorable message">>],
undefined,"undefined"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{muc_SUITE,wait_for_mam_result,3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4394}]},
{muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4130}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4126}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f inbox_SUITE:async_pools:muclight_config:system_message_is_correctly_avoided{error,
{{inbox_size,1,
[{times,50,
{error,
#{check_params => #{},error => function_clause,
expected_items =>
[#{content => <<"How are you?">>,
from =>
<<"[email protected]/bob@localhost">>,
to => <<"alice@localhost">>,unread => 1,
verify => #Fun<inbox_SUITE.84.91825257>}],
inbox_items => [],query_params => #{},
reason => inbox_mismatch,
stacktrace =>
[{lists,zip,
[[],
[{conv,1,
<<"[email protected]/bob@localhost">>,
<<"alice@localhost">>,<<"How are you?">>,
#Fun<inbox_SUITE.84.91825257>,undefined}]],
[{file,"lists.erl"},{line,419}]},
{inbox_helper,check_inbox_result,5,
[{file,
"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,221}]},
{inbox_helper,do_check_inbox,5,
[{file,
"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,208}]},
{inbox_helper,'-check_inbox/4-fun-0-',5,
[{file,
"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,201}]},
{mongoose_helper,do_wait_until,2,
[{file,
"/... inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_be_limited{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"kate_max_queries_can_be_limited_1539@localhost/res1">>,
escalus_tcp,<0.10207.1>,
[{event_manager,<0.10172.1>},
{server,<<"localhost">>},
{username,<<"kate_max_queries_can_be_limited_1539">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.10172.1>},
{server,<<"localhost">>},
{username,<<"kate_max_queries_can_be_limited_1539">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_max_queries_can_be_limited_1539">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_max_queries_can_be_limited_1539">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"c541babdc41e505a">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-max_queries_can_be_limited/1-fun-0-',4,
[{f... inbox_extensions_SUITE:regular:one_to_one:pagination:pagination_overrides_form{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"kate_pagination_overrides_form_1538@localhost/res1">>,
escalus_tcp,<0.10208.1>,
[{event_manager,<0.10165.1>},
{server,<<"localhost">>},
{username,<<"kate_pagination_overrides_form_1538">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.10165.1>},
{server,<<"localhost">>},
{username,<<"kate_pagination_overrides_form_1538">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_pagination_overrides_form_1538">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_pagination_overrides_form_1538">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"b924a0d496e40eef">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-pagination_overrides_form/1-fun-0-',4,
[{file,
... inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_forwards{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"kate_can_paginate_forwards_1541@localhost/res1">>,
escalus_tcp,<0.10206.1>,
[{event_manager,<0.10186.1>},
{server,<<"localhost">>},
{username,<<"kate_can_paginate_forwards_1541">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.10186.1>},
{server,<<"localhost">>},
{username,<<"kate_can_paginate_forwards_1541">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_can_paginate_forwards_1541">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_can_paginate_forwards_1541">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"ed2f2ddd197d66ac">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-can_paginate_forwards/1-fun-0-',4,
[{file,
"/home/circleci/project/bi... inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_backwards{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"kate_can_paginate_backwards_1540@localhost/res1">>,
escalus_tcp,<0.10209.1>,
[{event_manager,<0.10179.1>},
{server,<<"localhost">>},
{username,<<"kate_can_paginate_backwards_1540">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.10179.1>},
{server,<<"localhost">>},
{username,<<"kate_can_paginate_backwards_1540">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_can_paginate_backwards_1540">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_can_paginate_backwards_1540">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"6dc6934a632c679a">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-can_paginate_backwards/1-fun-0-',4,
[{file,
"/home/circleci/proj... inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_fetch_ahead{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"mike_max_queries_can_fetch_ahead_1542@localhost/res1">>,
escalus_tcp,<0.10210.1>,
[{event_manager,<0.10193.1>},
{server,<<"localhost">>},
{username,<<"mike_max_queries_can_fetch_ahead_1542">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.10193.1>},
{server,<<"localhost">>},
{username,<<"mike_max_queries_can_fetch_ahead_1542">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"mike_max_queries_can_fetch_ahead_1542">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"mike_max_queries_can_fetch_ahead_1542">>},
{server,<<"localhost">>},
{password,<<"nicniema">>},
{stream_id,<<"b5fad9e3004a5693">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,'-given_conversations_between/2-fun-1-',4,
[{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
{line,543}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{inbox_extensions_SUITE,'-max_queries_can_fetch_ahead/1-fun-0-',4,
... mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f disco_and_caps_SUITE:disco_with_caps:user_cannot_query_friend_resources_with_unknown_node{error,{{assertion_failed,assert_many,false,[is_presence],[],[]},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{escalus_story,'-make_all_clients_friends/1-fun-0-',2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,109}]},
{escalus_utils,'-each_with_index/3-fun-0-',3,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
{line,87}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{escalus_utils,'-each_with_index/3-fun-0-',3,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
{line,87}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1350}]},
{escalus_utils,distinct_pairs,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
{line,60}]},
{escalus_story,make_all_clients_friends,1,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,106}]}]}} muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive{error,{{assertion_failed,assert,is_groupchat_message,
[<<"Restorable message">>],
undefined,"undefined"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{muc_SUITE,wait_for_mam_result,3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4394}]},
{muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4130}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4126}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} pep_SUITE:pep_tests:send_caps_after_login_test{error,{{assertion_failed,assert_many,false,
[is_roster_set,is_presence,is_presence],
[{xmlel,<<"presence">>,
[{<<"from">>,
<<"bob_send_caps_after_login_test_2643@localhost/res1">>},
{<<"to">>,
<<"alice_send_caps_after_login_test_2643@localhost/res1">>},
{<<"xml:lang">>,<<"en">>}],
[]}],
" <presence from='bob_send_caps_after_login_test_2643@localhost/res1' to='alice_send_caps_after_login_test_2643@localhost/res1' xml:lang='en'/>"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{escalus_story,'-make_all_clients_friends/1-fun-0-',2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,114}]},
{escalus_utils,'-each_with_index/3-fun-0-',3,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
{line,87}]},
{lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
{escalus_utils,'-each_with_index/3-fun-0-',3,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
{line,87}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1350}]},
{escalus_utils,distinct_pairs,2,
[{file,"/h... mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f |
This PR changes all hook handlers in
ejabberd_ctl
togen_hook
format.