mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
510d4b06e7
* Better test for bad values in power levels events The previous test only checked that Synapse didn't raise an exception, but didn't check that we had correctly interpreted the value of the dodgy power level. It also conflated two things: bad room notification levels, and bad user levels. There _is_ logic for converting the latter to integers, but we should test it separately. * Check we ignore types that don't convert to int * Handle `None` values in `notifications.room` * Changelog * Also test that bad values are rejected by event auth * Docstring * linter scripttttttttt |
||
---|---|---|
.. | ||
.gitignore | ||
14823.feature | ||
14866.bugfix | ||
14879.misc | ||
14880.bugfix | ||
14886.misc | ||
14887.misc | ||
14904.misc | ||
14916.misc | ||
14920.misc | ||
14922.misc | ||
14927.misc | ||
14935.misc | ||
14936.misc | ||
14937.misc | ||
14938.misc | ||
14942.bugfix |