This issue has been migrated from #10497.
When the matrix specification says a type is a boolean, synapse accepts both 0, 1, false and true in the request, while only false and true are valid values.
I've seen this behaviour in at least the typing API (matrix-org/sytest#1088) and the register API (matrix-org/sytest#1089)
This issue has been migrated from #10497.
When the matrix specification says a type is a boolean, synapse accepts both
0,1,falseandtruein the request, while onlyfalseandtrueare valid values.I've seen this behaviour in at least the typing API (matrix-org/sytest#1088) and the register API (matrix-org/sytest#1089)