Skip to content

Update default power levels for room and encrypt rooms on creation #3184

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

Conversation

toger5
Copy link
Contributor

@toger5 toger5 commented Apr 10, 2025

This change is pulled out from: #3167
So we can decide if we really want it. Its mostly independent except that if we want room encryption event fallbacks this is needed.
For spa guest links we use rooms defined by EW so they should be encrypted already. So this is only for todevice (or room key) transport in the spa with rooms created in the spa.

@toger5 toger5 force-pushed the toger5/encrypt-spa-rooms-power-level-for-encryption-events branch from 16ce793 to 2749ae4 Compare April 14, 2025 08:57
Copy link
Member

@BillCarsonFr BillCarsonFr left a comment

Choose a reason for hiding this comment

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

What is the rationale for this custom power level override ?
Like only allow what is strictly needed out of caution?

@BillCarsonFr BillCarsonFr self-requested a review April 14, 2025 09:24
@toger5
Copy link
Contributor Author

toger5 commented Apr 14, 2025

After a large call test we noticed high server load. It has to be concluded if this is caused by the room encryption being enabled or the toDevice key distribution.

@toger5
Copy link
Contributor Author

toger5 commented Apr 15, 2025

Maybe we should only merge this once we changed it so reactions will only be send unencrypted. Otherwise we will rapidly create a large megolm session in large calls where ppl use reactions.

@toger5 toger5 added X-Blocked Cannot be merged due to external dependencies PR-Improvement Release note category. A PR that improves EC's performance or stability. labels Apr 15, 2025
@toger5
Copy link
Contributor Author

toger5 commented May 12, 2025

We do not want to merge this since it will impact all spa rooms (and make them heavier: full megolm session needed for each room to send reactions)

Instead the following is planned:
#3264

@toger5 toger5 closed this May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Improvement Release note category. A PR that improves EC's performance or stability. X-Blocked Cannot be merged due to external dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants