mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
modules/m_fetch: Stub missing cancel() definition for now.
This commit is contained in:
parent
c1b3dc1142
commit
c92b6aafd5
1 changed files with 8 additions and 1 deletions
|
@ -600,6 +600,13 @@ ircd::m::fetch::start(const m::room::id &room_id,
|
||||||
return submit(event_id, room_id);
|
return submit(event_id, room_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool
|
||||||
|
IRCD_MODULE_EXPORT
|
||||||
|
ircd::m::fetch::cancel(request &request)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
IRCD_MODULE_EXPORT
|
IRCD_MODULE_EXPORT
|
||||||
ircd::m::fetch::count()
|
ircd::m::fetch::count()
|
||||||
|
@ -957,7 +964,7 @@ try
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
cancel(request);
|
server::cancel(request);
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue