mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +01:00
ircd:Ⓜ️:name: Add room_version as a property name.
This commit is contained in:
parent
183241b506
commit
aaa015c6b8
3 changed files with 7 additions and 1 deletions
|
@ -99,7 +99,11 @@ struct ircd::m::createroom
|
||||||
|
|
||||||
/// (non-spec) Manually specify the room creator. This is an interface
|
/// (non-spec) Manually specify the room creator. This is an interface
|
||||||
/// convenience and will be overwritten/ignored from unprivileged users.
|
/// convenience and will be overwritten/ignored from unprivileged users.
|
||||||
json::property<name::creator, json::string>
|
json::property<name::creator, json::string>,
|
||||||
|
|
||||||
|
/// (non-spec) Manually specify a room version string (ignored from
|
||||||
|
/// unprivileged users/clients).
|
||||||
|
json::property<name::room_version, json::string>
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
using super_type::tuple;
|
using super_type::tuple;
|
||||||
|
|
|
@ -138,6 +138,7 @@ struct ircd::m::name
|
||||||
static constexpr const char *const power_level_content_override {"power_level_content_override"};
|
static constexpr const char *const power_level_content_override {"power_level_content_override"};
|
||||||
static constexpr const char *const parent_room_id {"parent_room_id"};
|
static constexpr const char *const parent_room_id {"parent_room_id"};
|
||||||
static constexpr const char *const creator {"creator"};
|
static constexpr const char *const creator {"creator"};
|
||||||
|
static constexpr const char *const room_version {"room_version"};
|
||||||
|
|
||||||
static constexpr const char *const id_server {"id_server"};
|
static constexpr const char *const id_server {"id_server"};
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,7 @@ constexpr const char *const ircd::m::name::guest_can_join;
|
||||||
constexpr const char *const ircd::m::name::power_level_content_override;
|
constexpr const char *const ircd::m::name::power_level_content_override;
|
||||||
constexpr const char *const ircd::m::name::parent_room_id;
|
constexpr const char *const ircd::m::name::parent_room_id;
|
||||||
constexpr const char *const ircd::m::name::creator;
|
constexpr const char *const ircd::m::name::creator;
|
||||||
|
constexpr const char *const ircd::m::name::room_version;
|
||||||
|
|
||||||
constexpr const char *const ircd::m::name::id_server;
|
constexpr const char *const ircd::m::name::id_server;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue