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:
parent
1e8b5b91da
commit
b18a1a3ebd
1 changed files with 0 additions and 11 deletions
|
@ -499,17 +499,6 @@ ircd::m::_create_event(const createroom &c)
|
|||
{ 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
|
||||
{
|
||||
content, !type.empty() && type != "room",
|
||||
|
|
Loading…
Reference in a new issue