mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 16:46:50 +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()
|
||||
noexcept try
|
||||
{
|
||||
listeners.reset(nullptr);
|
||||
leave_ircd_room();
|
||||
}
|
||||
catch(const m::error &e)
|
||||
|
@ -271,10 +272,10 @@ ircd::m::init::bootstrap()
|
|||
);
|
||||
|
||||
create(user::users, me.user_id);
|
||||
create(my_room, me.user_id);
|
||||
create(me.user_id);
|
||||
me.activate();
|
||||
|
||||
create(my_room, me.user_id);
|
||||
send(my_room, me.user_id, "m.room.name", "",
|
||||
{
|
||||
{ "name", "IRCd's Room" }
|
||||
|
|
Loading…
Reference in a new issue