mirror of
https://github.com/matrix-construct/construct
synced 2024-09-30 04:38:52 +02:00
ircd:Ⓜ️:vm: Propagate authority for hash mismatch for state eval.
This commit is contained in:
parent
b96a98abe9
commit
0e13620604
1 changed files with 6 additions and 0 deletions
|
@ -450,6 +450,12 @@ try
|
||||||
opts.phase.set(m::vm::phase::FETCH_PREV, false);
|
opts.phase.set(m::vm::phase::FETCH_PREV, false);
|
||||||
opts.phase.set(m::vm::phase::FETCH_STATE, false);
|
opts.phase.set(m::vm::phase::FETCH_STATE, false);
|
||||||
opts.notify_servers = false;
|
opts.notify_servers = false;
|
||||||
|
|
||||||
|
// The result won't give us events with a content hash mismatch unless
|
||||||
|
// they were obtained from an authoritative source. For this we can
|
||||||
|
// unconditionally allow hash mismatch from here.
|
||||||
|
opts.redacted = 1;
|
||||||
|
|
||||||
vm::eval
|
vm::eval
|
||||||
{
|
{
|
||||||
pdus, opts
|
pdus, opts
|
||||||
|
|
Loading…
Reference in a new issue