forked-synapse/synapse/media
Erik Johnston 8bd9ff0783
Ensure we delete media if we reject due to spam check (#17246)
Fixes up #17239

We need to keep the spam check within the `try/except` block. Also makes
it so that we don't enter the top span twice.

Also also ensures that we get the right thumbnail length.
2024-05-30 11:22:19 +01:00
..
_base.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
filepath.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
media_repository.py Ensure we delete media if we reject due to spam check (#17246) 2024-05-30 11:22:19 +01:00
media_storage.py Ensure we delete media if we reject due to spam check (#17246) 2024-05-30 11:22:19 +01:00
oembed.py Bump lxml-stubs from 0.4.0 to 0.5.1 (#16885) 2024-02-06 09:29:17 +00:00
preview_html.py Bump lxml-stubs from 0.4.0 to 0.5.1 (#16885) 2024-02-06 09:29:17 +00:00
storage_provider.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
thumbnailer.py Support MSC3916 by adding unstable media endpoints to _matrix/client (#17213) 2024-05-24 09:47:37 +01:00
url_previewer.py Fix slipped logging context when media rejected (#17239) 2024-05-29 11:14:42 +01:00