0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 16:34:13 +01:00

modules/m_fetch: Fix event construction regression.

This commit is contained in:
Jason Volk 2019-07-13 19:14:53 -07:00
parent b5b32e15da
commit 9fc5f86886

View file

@ -888,9 +888,9 @@ try
complete.size(),
};
const json::object event
const m::event event
{
request
json::object{request}, request.event_id
};
m::vm::opts opts;
@ -901,7 +901,7 @@ try
opts.fetch_prev_wait = false;
m::vm::eval
{
m::event{event}, opts
event, opts
};
}
catch(const std::exception &e)