0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

modules/client/createroom: Remove the parent property.

This commit is contained in:
Jason Volk 2019-08-17 08:14:45 -07:00
parent 1e8b5b91da
commit b18a1a3ebd

View file

@ -499,17 +499,6 @@ ircd::m::_create_event(const createroom &c)
{ content, { "creator", creator }}, { content, { "creator", creator }},
}; };
const json::iov::add _parent
{
content, !parent.empty() && m::room::id(parent).local() != "init",
{
"parent", [&parent]() -> json::value
{
return parent;
}
}
};
const json::iov::add _type const json::iov::add _type
{ {
content, !type.empty() && type != "room", content, !type.empty() && type != "room",