mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Allow pdf inline
This commit is contained in:
parent
ca4e3165b3
commit
245d82f44e
@ -86,6 +86,7 @@ INLINE_CONTENT_TYPES = [
|
||||
"text/csv",
|
||||
"application/json",
|
||||
"application/ld+json",
|
||||
"application/pdf",
|
||||
# We allow some media files deemed as safe, which comes from the matrix-react-sdk.
|
||||
# https://github.com/matrix-org/matrix-react-sdk/blob/a70fcfd0bcf7f8c85986da18001ea11597989a7c/src/utils/blobs.ts#L51
|
||||
# SVGs are *intentionally* omitted.
|
||||
|
Loading…
Reference in New Issue
Block a user