diff --git a/include/ircd/m/room/message.h b/include/ircd/m/room/message.h index 81abd6c02..6bf957949 100644 --- a/include/ircd/m/room/message.h +++ b/include/ircd/m/room/message.h @@ -23,18 +23,21 @@ struct ircd::m::room::message /// Required. The body of the message. json::property, + /// The format used in the formatted_body. + json::property, + + /// The formatted version of the body. This is required if format + /// is specified. + json::property, + /// m.relates_to json::property, /// Required. enum. json::property, - /// The format used in the formatted_body. - json::property, - - /// The formatted version of the body. This is required if format - /// is specified. - json::property + /// mxc:// for media. + json::property > { /// The event ID of the message being replied to; empty if malformed or