mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix running with an empty experimental features section. (#15925)
This commit is contained in:
parent
36c6b92bfc
commit
5bdf01fccd
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 New Issue
Block a user