mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd:Ⓜ️:vm: Propagate authority for hash mismatch for auth_chain eval.
This commit is contained in:
parent
e362a509d8
commit
b96a98abe9
1 changed files with 6 additions and 0 deletions
|
@ -338,6 +338,12 @@ try
|
|||
opts.infolog_accept = true;
|
||||
opts.warnlog &= ~vm::fault::EXISTS;
|
||||
opts.notify_servers = false;
|
||||
|
||||
// The auth_chain fetch made by the caller 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;
|
||||
|
||||
log::debug
|
||||
{
|
||||
log, "Evaluating auth chain for %s in %s events:%zu",
|
||||
|
|
Loading…
Reference in a new issue