summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-01-26 07:32:17 -0500
committerGitHub <noreply@github.com>2021-01-26 07:32:17 -0500
commit4937fe3d6be94222b02760866496781f8cc88751 (patch)
tree40dd8def98be0b515054d67776a1452d2cc41a21 /synapse/handlers/message.py
parentUpdate isort to v5.7.0 (#9222) (diff)
downloadsynapse-4937fe3d6be94222b02760866496781f8cc88751.tar.xz
Try to recover from unknown encodings when previewing media. (#9164)
Treat unknown encodings (according to lxml) as UTF-8
when generating a preview for HTML documents. This
isn't fully accurate, but will hopefully give a reasonable
title and summary.
Diffstat (limited to 'synapse/handlers/message.py')
0 files changed, 0 insertions, 0 deletions