0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-03 22:28:52 +02:00

ircd:Ⓜ️:feds: Fix missing linkage definition for feds::state.

This commit is contained in:
Jason Volk 2018-09-25 17:12:50 -07:00
parent c90b530656
commit 4c0f06aaa3

View file

@ -394,19 +394,30 @@ ircd::m::self::init::init(const string_view &origin)
// m/feds.h
//
//
// state
//
ircd::m::feds::state::state(const m::room::id &room_id,
const m::event::id &event_id,
const closure &view)
:state
{
//TODO: conf
room_id, event_id, seconds(20), view
}
{
}
ircd::m::feds::state::state(const m::room::id &room_id,
const m::event::id &event_id,
const milliseconds &to,
const closure &view)
{
using closure_prototype = bool (const string_view &,
std::exception_ptr,
const json::object &);
using prototype = void (const m::room::id &,
const m::event::id &,
const milliseconds &,
const std::function<closure_prototype> &);
const closure &);
static mods::import<prototype> feds__state
{