mirror of
https://github.com/matrix-construct/construct
synced 2025-03-16 22:41:46 +01:00
ircd:Ⓜ️ Temporary eval workarounds.
This commit is contained in:
parent
77ababbe85
commit
b4ee0a9bcf
2 changed files with 4 additions and 1 deletions
|
@ -244,6 +244,7 @@ bootstrap(const string_view &host,
|
|||
opts.head_must_exist = false;
|
||||
opts.history = false;
|
||||
opts.infolog_accept = true;
|
||||
opts.eval = false;
|
||||
const m::event::id::buf event_id
|
||||
{
|
||||
m::vm::eval
|
||||
|
|
|
@ -456,13 +456,15 @@ try
|
|||
commit_hook(event, eval);
|
||||
}
|
||||
|
||||
const event::conforms &report
|
||||
event::conforms report
|
||||
{
|
||||
opts.conforming && !opts.conformed?
|
||||
event::conforms{event, opts.non_conform.report}:
|
||||
opts.report
|
||||
};
|
||||
|
||||
report.del(event::conforms::MISSING_AUTH_EVENTS);
|
||||
|
||||
if(opts.conforming && !report.clean())
|
||||
throw error
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue