0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd:Ⓜ️:room::power: Add defaults m.room.encryption, m.room.server_acl, m.room.tombstone at creator level.

This commit is contained in:
Jason Volk 2020-04-13 15:08:53 -07:00
parent ea194d9b85
commit 053398c74d

View file

@ -69,6 +69,21 @@ ircd::m::room::power::compose_content(const mutable_buffer &buf,
content, "events"
};
json::stack::member
{
events, "m.room.encryption", json::value(default_creator_level)
};
json::stack::member
{
events, "m.room.server_acl", json::value(default_creator_level)
};
json::stack::member
{
events, "m.room.tombstone", json::value(default_creator_level)
};
closure("events", events);
}