Skip to content
Snippets Groups Projects
Unverified Commit 5d6644ef authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

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.
parent 0e8b35f7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment