0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-30 10:42:47 +01:00

construct: Post matrix context; fix direct jump.

This commit is contained in:
Jason Volk 2019-10-03 16:08:00 -07:00
parent e6f3f23439
commit b238f24862

View file

@ -232,7 +232,7 @@ noexcept try
if(level == ircd::run::level::IDLE && !context && !nomatrix)
{
// 3 Launch the homeserver context (asynchronous).
context = { "matrix", homeserver };
context = { "matrix", ircd::context::POST, homeserver };
// 4 Yield until the homeserver function notifies `start`; waiting
// here prevents ircd::main() from entering runlevel RUN.