mirror of
https://github.com/matrix-construct/construct
synced 2024-11-05 13:28:54 +01:00
ircd:Ⓜ️ Tweaks to bootstrap / init task ordering.
This commit is contained in:
parent
d6e5723014
commit
60b9960c3d
1 changed files with 2 additions and 1 deletions
|
@ -147,6 +147,7 @@ catch(const std::exception &e)
|
||||||
ircd::m::init::~init()
|
ircd::m::init::~init()
|
||||||
noexcept try
|
noexcept try
|
||||||
{
|
{
|
||||||
|
listeners.reset(nullptr);
|
||||||
leave_ircd_room();
|
leave_ircd_room();
|
||||||
}
|
}
|
||||||
catch(const m::error &e)
|
catch(const m::error &e)
|
||||||
|
@ -271,10 +272,10 @@ ircd::m::init::bootstrap()
|
||||||
);
|
);
|
||||||
|
|
||||||
create(user::users, me.user_id);
|
create(user::users, me.user_id);
|
||||||
|
create(my_room, me.user_id);
|
||||||
create(me.user_id);
|
create(me.user_id);
|
||||||
me.activate();
|
me.activate();
|
||||||
|
|
||||||
create(my_room, me.user_id);
|
|
||||||
send(my_room, me.user_id, "m.room.name", "",
|
send(my_room, me.user_id, "m.room.name", "",
|
||||||
{
|
{
|
||||||
{ "name", "IRCd's Room" }
|
{ "name", "IRCd's Room" }
|
||||||
|
|
Loading…
Reference in a new issue