Skip to content

feat(BREAKING): Add onTofuEvent callback and mark master key as tofu …

34df795
Select commit
Loading
Failed to load commit list.
Open

feat: Send state event to timeline when crypto identity changed #2252

feat(BREAKING): Add onTofuEvent callback and mark master key as tofu …
34df795
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 15, 2026 in 0s

58.14% (-0.11%) compared to 9aeaef9

View this Pull Request on Codecov

58.14% (-0.11%) compared to 9aeaef9

Details

Codecov Report

❌ Patch coverage is 33.76623% with 51 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.14%. Comparing base (9aeaef9) to head (34df795).

Files with missing lines Patch % Lines
lib/src/utils/on_tofu_event.dart 0.00% 16 Missing ⚠️
lib/encryption/key_manager.dart 44.00% 14 Missing ⚠️
lib/src/utils/event_localizations.dart 0.00% 10 Missing ⚠️
lib/src/utils/device_keys_list.dart 58.82% 7 Missing ⚠️
lib/src/database/matrix_sdk_database.dart 0.00% 2 Missing ⚠️
lib/src/utils/matrix_default_localizations.dart 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2252      +/-   ##
==========================================
- Coverage   58.24%   58.14%   -0.11%     
==========================================
  Files         160      161       +1     
  Lines       19851    19924      +73     
==========================================
+ Hits        11563    11585      +22     
- Misses       8288     8339      +51     
Files with missing lines Coverage Δ
lib/matrix_api_lite/model/event_types.dart 100.00% <ø> (ø)
lib/src/client.dart 77.85% <100.00%> (+0.04%) ⬆️
lib/src/database/database_api.dart 0.00% <ø> (ø)
lib/src/utils/matrix_localizations.dart 100.00% <ø> (ø)
lib/src/database/matrix_sdk_database.dart 91.36% <0.00%> (-0.19%) ⬇️
lib/src/utils/matrix_default_localizations.dart 55.94% <0.00%> (-0.80%) ⬇️
lib/src/utils/device_keys_list.dart 91.32% <58.82%> (-2.28%) ⬇️
lib/src/utils/event_localizations.dart 57.89% <0.00%> (-3.22%) ⬇️
lib/encryption/key_manager.dart 85.00% <44.00%> (-1.97%) ⬇️
lib/src/utils/on_tofu_event.dart 0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9aeaef9...34df795. Read the comment docs.