mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd:Ⓜ️:homeserver: Create the !bridge room on bootstrap for now.
This commit is contained in:
parent
606f775dc8
commit
d4418e3857
1 changed files with 13 additions and 0 deletions
|
@ -956,6 +956,19 @@ try
|
|||
{ "name", "Control Room" }
|
||||
});
|
||||
|
||||
const m::room::id::buf bridge_room_id
|
||||
{
|
||||
"bridge", origin(homeserver)
|
||||
};
|
||||
|
||||
const m::room bridge_room
|
||||
{
|
||||
bridge_room_id
|
||||
};
|
||||
|
||||
if(!exists(bridge_room))
|
||||
create(bridge_room, me);
|
||||
|
||||
log::info
|
||||
{
|
||||
log, "Bootstrap event generation completed nominally."
|
||||
|
|
Loading…
Reference in a new issue