comparison plugins/mod_storage_xep0227.lua @ 13867:eabd38507c1d 13.0

util.jsonschema: Fix handling of `false` as schema Schemas can be either a boolean or a table (object) but since it only checked for truthiness, the case of `false` would be handled incorrectly. There seems to be no tests that cover `then` and `else` being `false`, only a couple that check the `if` keyword.
author Kim Alvefur <zash@zash.se>
date Sun, 30 Mar 2025 17:27:23 +0200
parents 6375f0741f90
children a4c47203a9eb
comparison
equal deleted inserted replaced
13854:0b01f40df0f9 13867:eabd38507c1d