mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +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.infolog_accept = true;
|
||||||
opts.warnlog &= ~vm::fault::EXISTS;
|
opts.warnlog &= ~vm::fault::EXISTS;
|
||||||
opts.notify_servers = false;
|
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::debug
|
||||||
{
|
{
|
||||||
log, "Evaluating auth chain for %s in %s events:%zu",
|
log, "Evaluating auth chain for %s in %s events:%zu",
|
||||||
|
|
Loading…
Add table
Reference in a new issue