mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd:Ⓜ️:typing: Partial normalization;
This commit is contained in:
parent
a1c8845e1e
commit
4077c5faa3
2 changed files with 2 additions and 3 deletions
|
@ -1426,7 +1426,7 @@ ircd::m::typing::for_each(const closure_bool &closure)
|
|||
|
||||
static mods::import<prototype> function
|
||||
{
|
||||
"m_typing", "for_each"
|
||||
"m_typing", "ircd::m::typing::for_each"
|
||||
};
|
||||
|
||||
return function(closure);
|
||||
|
|
|
@ -51,7 +51,6 @@ timeout_min
|
|||
|
||||
static system_point calc_timesout(milliseconds relative);
|
||||
static bool update_state(const m::typing &);
|
||||
extern "C" bool for_each(const m::typing::closure_bool &);
|
||||
extern "C" m::event::id::buf commit(const m::typing &edu);
|
||||
|
||||
//
|
||||
|
@ -330,7 +329,7 @@ timeout_timeout(const typist &t)
|
|||
//
|
||||
|
||||
bool
|
||||
for_each(const m::typing::closure_bool &closure)
|
||||
ircd::m::typing::for_each(const m::typing::closure_bool &closure)
|
||||
{
|
||||
// User cannot yield in their closure because the iteration
|
||||
// may be invalidated by the timeout worker during their yield.
|
||||
|
|
Loading…
Reference in a new issue