mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd:Ⓜ️:typing: Add timeout context terminator (missing f9df9bfbd
).
This commit is contained in:
parent
86a7ed52c2
commit
cbb988d31c
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue