mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd:Ⓜ️:room::message: Name m.relates_to in the tuple.
This commit is contained in:
parent
d978a02b91
commit
504e0a1883
3 changed files with 5 additions and 0 deletions
|
@ -209,6 +209,7 @@ struct ircd::m::name
|
|||
static constexpr const char *const msgtype {"msgtype"};
|
||||
static constexpr const char *const format {"format"};
|
||||
static constexpr const char *const formatted_body {"formatted_body"};
|
||||
static constexpr const char *const m_relates_to {"m.relates_to"};
|
||||
|
||||
static constexpr const char *const usage {"usage"};
|
||||
static constexpr const char *const master_key {"master_key"};
|
||||
|
|
|
@ -23,6 +23,9 @@ struct ircd::m::room::message
|
|||
/// Required. The body of the message.
|
||||
json::property<name::body, json::string>,
|
||||
|
||||
/// m.relates_to
|
||||
json::property<name::m_relates_to, json::object>,
|
||||
|
||||
/// Required. enum.
|
||||
json::property<name::msgtype, json::string>,
|
||||
|
||||
|
|
|
@ -188,6 +188,7 @@ constexpr const char *const ircd::m::name::body;
|
|||
constexpr const char *const ircd::m::name::msgtype;
|
||||
constexpr const char *const ircd::m::name::format;
|
||||
constexpr const char *const ircd::m::name::formatted_body;
|
||||
constexpr const char *const ircd::m::name::m_relates_to;
|
||||
|
||||
constexpr const char *const ircd::m::name::usage;
|
||||
constexpr const char *const ircd::m::name::master_key;
|
||||
|
|
Loading…
Reference in a new issue