0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-12 13:01:07 +01:00

ircd:Ⓜ️:vm: Assume hash match; bypass query for internal rooms.

This commit is contained in:
Jason Volk 2020-10-09 03:47:12 -07:00
parent 13fcd8b3a5
commit 21d681d59e

View file

@ -144,6 +144,10 @@ ircd::m::vm::conform_report
opts.require_content?
false:
// assume unredacted for internal rooms
eval.room_internal?
false:
// assume redacted when hash mismatch already allowed
(opts.non_conform.has(event::conforms::MISMATCH_HASHES))?
true: