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:
parent
ea194d9b85
commit
053398c74d
1 changed files with 15 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue