mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd:Ⓜ️:homeserver: Fix removed !public creation hook w/ create on bootstrap for now.
This commit is contained in:
parent
f1dca3ee42
commit
33f1ce6e09
1 changed files with 13 additions and 0 deletions
|
@ -907,6 +907,19 @@ try
|
||||||
{ "name", "User Tokens" }
|
{ "name", "User Tokens" }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const m::room::id::buf public_room_id
|
||||||
|
{
|
||||||
|
"public", origin(homeserver)
|
||||||
|
};
|
||||||
|
|
||||||
|
const m::room public_room
|
||||||
|
{
|
||||||
|
public_room_id
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!exists(public_room))
|
||||||
|
create(public_room, me);
|
||||||
|
|
||||||
log::info
|
log::info
|
||||||
{
|
{
|
||||||
log, "Bootstrap event generation completed nominally."
|
log, "Bootstrap event generation completed nominally."
|
||||||
|
|
Loading…
Reference in a new issue