0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02: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,
};
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
/// 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