mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 08:54:02 +01:00
modules/m_fetch: Fix event construction regression.
This commit is contained in:
parent
b5b32e15da
commit
9fc5f86886
1 changed files with 3 additions and 3 deletions
|
@ -888,9 +888,9 @@ try
|
||||||
complete.size(),
|
complete.size(),
|
||||||
};
|
};
|
||||||
|
|
||||||
const json::object event
|
const m::event event
|
||||||
{
|
{
|
||||||
request
|
json::object{request}, request.event_id
|
||||||
};
|
};
|
||||||
|
|
||||||
m::vm::opts opts;
|
m::vm::opts opts;
|
||||||
|
@ -901,7 +901,7 @@ try
|
||||||
opts.fetch_prev_wait = false;
|
opts.fetch_prev_wait = false;
|
||||||
m::vm::eval
|
m::vm::eval
|
||||||
{
|
{
|
||||||
m::event{event}, opts
|
event, opts
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
catch(const std::exception &e)
|
catch(const std::exception &e)
|
||||||
|
|
Loading…
Reference in a new issue