synapse/changelog.d/17246.misc
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

1 line
98 B
Text

Fix errors in logs about closing incorrect logging contexts when media gets rejected by a module.