mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
modules/client/createroom: Create with room_version 4.
This commit is contained in:
parent
4353034027
commit
f4600bb002
1 changed files with 8 additions and 0 deletions
|
@ -486,6 +486,14 @@ ircd::m::_create_event(const createroom &c)
|
|||
}
|
||||
};
|
||||
|
||||
const json::iov::push _room_version
|
||||
{
|
||||
content,
|
||||
{
|
||||
"room_version", json::value { "4", json::STRING }
|
||||
}
|
||||
};
|
||||
|
||||
room room
|
||||
{
|
||||
at<"room_id"_>(c)
|
||||
|
|
Loading…
Reference in a new issue