mirror of
https://github.com/matrix-construct/construct
synced 2025-02-27 14:10:13 +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
|
room room
|
||||||
{
|
{
|
||||||
at<"room_id"_>(c)
|
at<"room_id"_>(c)
|
||||||
|
|
Loading…
Add table
Reference in a new issue