mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 04:43:46 +01:00
Fix running with an empty experimental features section. (#15925)
This commit is contained in:
parent
36c6b92bfc
commit
5bdf01fccd
2 changed files with 2 additions and 1 deletions
1
changelog.d/15925.bugfix
Normal file
1
changelog.d/15925.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix a bug introduced in 1.86.0 where Synapse starting with an empty `experimental_features` configuration setting.
|
|
@ -31,7 +31,7 @@ class AuthConfig(Config):
|
|||
|
||||
# The default value of password_config.enabled is True, unless msc3861 is enabled.
|
||||
msc3861_enabled = (
|
||||
config.get("experimental_features", {})
|
||||
(config.get("experimental_features") or {})
|
||||
.get("msc3861", {})
|
||||
.get("enabled", False)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue