0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd:Ⓜ️:vm: Fix require_content=false behavior as described by option's doc.

This commit is contained in:
Jason Volk 2022-08-09 12:05:42 -07:00
parent 4a254dd3ac
commit 06b70cc274

View file

@ -161,7 +161,8 @@ ircd::m::vm::conform_report
true:
// allowed by options
non_conform.has(event::conforms::MISMATCH_HASHES)?
non_conform.has(event::conforms::MISMATCH_HASHES)
|| opts.require_content == 0?
true:
// allowed by room auth