element-x-ada/features/messages
Jorge Martin Espinosa a132be2dd8
Use formatted captions for images and video (#3864)
* Make `formattedCaption in `TimelineItemEventContentWithAttachment` a `Charsequence?`, parse the formatted caption body as we do for text message bodies

* Add `TimelineItem.isWholeContentClickable` property to decide whether the click action should be triggered at the message bubble level or when some internal content is tapped instead.

* Display the formatted/linkified captions in image and video timeline item views

* Apply the `onClick` callback to the whole message bubble or only the content of the timeline item depending on `TimelineItem.isWholeContentClickable`.
2024-11-13 20:25:34 +01:00
..
api Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
impl Use formatted captions for images and video (#3864) 2024-11-13 20:25:34 +01:00
test Migrate license to AGPL. 2024-09-06 17:19:19 +02:00