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:
parent
b5b32e15da
commit
9fc5f86886
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue