From 21f14c243b5878fbb311008228fbdb6341183fb1 Mon Sep 17 00:00:00 2001 From: Alexey Murz Korepov Date: Wed, 16 Dec 2020 22:20:07 +0300 Subject: [PATCH] Described replacing fallback to rich representation --- proposals/2881-message-attachments.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proposals/2881-message-attachments.md b/proposals/2881-message-attachments.md index ed569593b..3693dbb20 100644 --- a/proposals/2881-message-attachments.md +++ b/proposals/2881-message-attachments.md @@ -147,6 +147,8 @@ and JSON of `content` field: "formatted_body": "

Here is my photos and videos from yesterday event

\n

Attachments:

\n
" } ``` +And modern clients, that have support of the attachments feature, will cut the `div.mx-attachment` tag and replace it to rich gallery block with thumbnails of attachments. + If [MSC2398: proposal to allow mxc:// in the "a" tag within messages](https://github.com/matrix-org/matrix-doc/pull/2398) will be merged before this, we can replace `http` urls to direct `mxc://` urls, for support servers, that don't allow downloads without authentication and have other restrictions. **If we will come up with better fallback display, maybe bring this option as main suggestion?**