-
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
Mam jid rfc trust #3682
Mam jid rfc trust #3682
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov Report
@@ Coverage Diff @@
## master #3682 +/- ##
=======================================
Coverage 81.10% 81.10%
=======================================
Files 433 433
Lines 31882 31882
=======================================
Hits 25858 25858
Misses 6024 6024 Continue to review full report at Codecov.
|
479f9a0
to
579538f
Compare
small_tests_24 / small_tests / 579538f small_tests_25 / small_tests / 579538f dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 579538f dynamic_domains_mysql_redis_25 / mysql_redis / 579538f ldap_mnesia_24 / ldap_mnesia / 579538f dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 579538f ldap_mnesia_25 / ldap_mnesia / 579538f internal_mnesia_25 / internal_mnesia / 579538f pgsql_mnesia_24 / pgsql_mnesia / 579538f pgsql_mnesia_25 / pgsql_mnesia / 579538f elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 579538f mysql_redis_25 / mysql_redis / 579538f mssql_mnesia_25 / odbc_mssql_mnesia / 579538f 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,4383}]},
{muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4124}]},
{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,4120}]},
{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}]}]}} riak_mnesia_24 / riak_mnesia / 579538f |
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.
It all looks good, but a simple question: why not call it mam_jid_rfc_noprep
to make it obvious?
Dunno, I thought of |
It's just like
mam_jid_rfc
, but usesjid:from_binary_noprep/1
for decoding. If only MIM inserted jids in this field, and we know that MIM only inserted already normalised jids, when reading we only need to build the jid record, but not normalize (stringprep) all its fields. Can save some (tiny bit of) time.