0
0
Fork 0
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:
Jason Volk 2019-07-14 09:42:43 -07:00
parent c1b3dc1142
commit c92b6aafd5

View file

@ -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;
} }