Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

default in encryption_enabled_by_default_for_room_type is misleading #9794

Open
Craeckie opened this issue Apr 12, 2021 · 3 comments
Open

default in encryption_enabled_by_default_for_room_type is misleading #9794

Craeckie opened this issue Apr 12, 2021 · 3 comments
Labels
good first issue Good for newcomers T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Comments

@Craeckie
Copy link

Description

The option encryption_enabled_by_default_for_room_type as introduced in #7639 is misleading.

A default is something that has a value as long as it's not overwritten. In this case it would mean, that encryption is enabled for the specified room type as long as it is not disabled for a specific room/client/...
The current implementation prevents creation of unencrypted DMs/rooms. This is clearly not a default, but forced encryption.

Expected Naming

force_encryption_enabled_for_room_type or similar.

Version information

v1.31.0 and current develop branch.

@anoadragon453
Copy link
Member

Indeed, the description at least should be updated, if not the name as well.

A similar conclusion was reached at the end of #9246, but nobody ended up creating an issue off the back of it. Thanks for doing so!

@anoadragon453 anoadragon453 added good first issue Good for newcomers T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. labels Apr 20, 2021
@anoadragon453
Copy link
Member

Heads up that #9794 is an on-going, initial attempt at addressing this issue.

@richvdh
Copy link
Member

richvdh commented May 25, 2021

itym #9983

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants