mirror of
https://github.com/element-hq/synapse
synced 2024-08-18 21:30:54 +00:00
When a module rejects a piece of media we end up trying to close the same logging context twice. Instead of fixing the existing code we refactor to use an async context manager, which is easier to write correctly. |
||
---|---|---|
.. | ||
__init__.py | ||
test_domain_blocking.py | ||
test_url_preview.py |