mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
modules/console: Fix feds resend regression after vm::accept removal.
This commit is contained in:
parent
f216f60583
commit
5e35e0593a
1 changed files with 13 additions and 3 deletions
|
@ -7463,9 +7463,19 @@ console_cmd__feds__resend(opt &out, const string_view &line)
|
|||
event_id
|
||||
};
|
||||
|
||||
const m::vm::opts opts;
|
||||
// m::vm::accepted a{event, &opts, nullptr, &opts.report};
|
||||
// m::vm::accept(a);
|
||||
m::vm::opts opts;
|
||||
opts.replays = true;
|
||||
opts.conforming = false;
|
||||
opts.fetch = false;
|
||||
opts.eval = false;
|
||||
opts.write = false;
|
||||
opts.effects = false;
|
||||
opts.notify = true;
|
||||
m::vm::eval
|
||||
{
|
||||
m::event{event}, opts
|
||||
};
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue