summary refs log tree commit diff
path: root/synapse/config/user_directory.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-06-21 16:52:09 +0100
committerGitHub <noreply@github.com>2019-06-21 16:52:09 +0100
commit5d6644efe070b908dd802c299c9e6a1427cb8adf (patch)
treef65b372fa6377aaaa11f0e26a337e2c38ffd9aac /synapse/config/user_directory.py
parentFix "Unexpected entry in 'full_schemas'" log warning (#5509) (diff)
downloadsynapse-5d6644efe070b908dd802c299c9e6a1427cb8adf.tar.xz
Only import jinja2 when needed (#5514)
Fixes https://github.com/matrix-org/synapse/issues/5431

`jinja2` was being imported even when it wasn't strictly necessary. This made it required to run Synapse, even if the functionality that required it wasn't enabled. This was causing new Synapse installations to crash on startup.

Email modules are now required.
Diffstat (limited to 'synapse/config/user_directory.py')
0 files changed, 0 insertions, 0 deletions