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:
parent
13fcd8b3a5
commit
21d681d59e
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue