summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-09-15 15:45:41 +0100
committerErik Johnston <erik@matrix.org>2023-09-15 15:45:41 +0100
commit93248076c2a0eecc631a7ce7503f3d5e773e224c (patch)
tree91f6182d9eac4b5135e9437066d1ec0b65c3c83c
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
downloadsynapse-93248076c2a0eecc631a7ce7503f3d5e773e224c.tar.xz
Temporarily disable webp thumbnailing
-rw-r--r--synapse/media/thumbnailer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/media/thumbnailer.py b/synapse/media/thumbnailer.py

index d8979813b3..359b3233ef 100644 --- a/synapse/media/thumbnailer.py +++ b/synapse/media/thumbnailer.py
@@ -51,7 +51,7 @@ class Thumbnailer: self._closed = False try: - self.image = Image.open(input_path) + self.image = Image.open(input_path, formats=["jpeg", "gif", "png"]) except OSError as e: # If an error occurs opening the image, a thumbnail won't be able to # be generated.