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

Add power level override to allow enabling encryption with custom PL #550

Merged
merged 2 commits into from
Dec 23, 2020

Conversation

Rafaeltheraven
Copy link
Contributor

Solves #471 by adding an encryption override to the group power levels (could also be added to user but I'm not sure that's necessary). Will default to 50 so chat moderators can enable encryption, or 99 if encryption is not enabled for this bridge (so people do not accidentally enable encryption and break their rooms).

The biggest problem is that this is not reverse compatible with old rooms, so powerlevels will still have to be set manually there, no idea how to approach that though.

I overlooked a thing like 10 lines down...

Co-authored-by: Tulir Asokan <[email protected]>
@tulir tulir merged commit b97c1a1 into mautrix:master Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants