0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd:Ⓜ️:typing: Add timeout context terminator (missing f9df9bfbd).

This commit is contained in:
Jason Volk 2020-04-26 04:17:39 -07:00
parent 86a7ed52c2
commit cbb988d31c

View file

@ -75,6 +75,15 @@ ircd::m::typing::timeout_context
timeout_worker, timeout_worker,
}; };
static const ircd::run::changed
timeout_context_terminate
{
ircd::run::level::QUIT, []
{
ircd::m::typing::timeout_context.terminate();
}
};
/// Hooks all federation typing edus from remote servers as well as /// Hooks all federation typing edus from remote servers as well as
/// the above commit from local clients. This hook rewrites the edu into /// the above commit from local clients. This hook rewrites the edu into
/// a new event formatted for client /sync and then runs that through eval /// a new event formatted for client /sync and then runs that through eval