Skip to content
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

feat(crypto): Allow fetching encryption info using session ID #4658

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

andybalaam
Copy link
Member

Part of element-hq/element-meta#2697

When a session is updated (e.g. because we received a new identity for the user, so the session is now from a verified device when previously it wasn't) then we need to be able to update the EncryptionInfo for a TimelineItem without actually decrypting the event, since it's already decrypted.

@andybalaam andybalaam requested review from a team as code owners February 12, 2025 13:00
@andybalaam andybalaam requested review from bnjbvr and poljar and removed request for a team February 12, 2025 13:00
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.70%. Comparing base (fce7999) to head (f4270a6).
Report is 12 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4658   +/-   ##
=======================================
  Coverage   85.69%   85.70%           
=======================================
  Files         292      292           
  Lines       33620    33620           
=======================================
+ Hits        28812    28815    +3     
+ Misses       4808     4805    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andybalaam andybalaam force-pushed the andybalaam/get-encryptioninfo-via-sessionid branch from 977b4d3 to 7f37931 Compare February 12, 2025 13:23
@andybalaam andybalaam enabled auto-merge (rebase) February 12, 2025 13:24
@andybalaam andybalaam force-pushed the andybalaam/get-encryptioninfo-via-sessionid branch from 7f37931 to f4270a6 Compare February 12, 2025 13:45
@andybalaam andybalaam merged commit 25bb607 into main Feb 12, 2025
41 checks passed
@andybalaam andybalaam deleted the andybalaam/get-encryptioninfo-via-sessionid branch February 12, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants