Support media messages with caption
Media captions is a feature that was added in the just released Matrix 1.10. As the name suggests, it allows to send a caption alongside a media.
Technically, the media message events now can all have a filename
property. If it is set and has a different value than body
, body
is the plain text caption of the message, and if formatted_body
is present it is the formatted caption of the message.
This can be implemented in two steps:
-
Display caption alongside media messages -
Allow to send captions with media messages.
The first one is the most urgent because without it users will miss the fact that there was a caption sent with the media file.
Edited by Alexandre Franke