0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd:Ⓜ️:vm: Propagate authority for hash mismatch for auth_chain eval.

This commit is contained in:
Jason Volk 2020-10-03 04:23:59 -07:00
parent e362a509d8
commit b96a98abe9

View file

@ -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",