mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-01-23 14:59:16 -05:00
It doesn't make sense to send a formatted caption without a plain text caption so using TextMessageEventContent forces the latter to be present. This also allows to use the helpful constructors of TextMessageEventContent. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>