matrix-org/synapse

default in encryption_enabled_by_default_for_room_type is misleading

Offen

#9.794 geöffnet am 12.04.2021

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (2.196 Forks)batch import
T-Taskgood first issue

Repository-Metriken

Stars
 (11.713 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide