mirror of
https://github.com/matrix-construct/construct
synced 2025-03-16 22:41:46 +01: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_STATE, 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
|
||||
{
|
||||
pdus, opts
|
||||
|
|
Loading…
Add table
Reference in a new issue