mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +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);
|
||||
}
|
||||
|
||||
bool
|
||||
IRCD_MODULE_EXPORT
|
||||
ircd::m::fetch::cancel(request &request)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
size_t
|
||||
IRCD_MODULE_EXPORT
|
||||
ircd::m::fetch::count()
|
||||
|
@ -957,7 +964,7 @@ try
|
|||
}
|
||||
catch(...)
|
||||
{
|
||||
cancel(request);
|
||||
server::cancel(request);
|
||||
throw;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue