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

ffi: remove is_encrypted field from RoomInfo #3655

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

jmartinesp
Copy link
Contributor

It turns out this will cause a network request if the encryption info hasn't been loaded before, which is the case for opening a client in offline mode. It will slow down displaying the room list or loading the room info in general.

Partially reverts #3602.

  • Public API changes documented in changelogs (optional)

Signed-off-by:

It turns out this will cause a network request if the encryption info hasn't been loaded before, which is the case for opening a client in offline mode. It will slow down displaying the room list or loading the room info in general.
@jmartinesp jmartinesp requested a review from Hywan July 4, 2024 11:57
@jmartinesp jmartinesp requested a review from a team as a code owner July 4, 2024 11:57
Copy link
Member

@Hywan Hywan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; thanks!

Copy link

codecov bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.26%. Comparing base (03d4a30) to head (ad4d24f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3655   +/-   ##
=======================================
  Coverage   84.25%   84.26%           
=======================================
  Files         259      259           
  Lines       26595    26595           
=======================================
+ Hits        22408    22409    +1     
+ Misses       4187     4186    -1     

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

@Hywan Hywan merged commit aaccfdf into main Jul 4, 2024
40 checks passed
@Hywan Hywan deleted the jme/remove-is-encrypted-from-room-info branch July 4, 2024 12:21
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