mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
bb5a692946
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 |