From 70da27aa17244581f38e57c8fdbbc4f467d71f44 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Tue, 20 Sep 2022 16:25:18 +0200 Subject: [PATCH] Relax m.push_rules "room.default" event validation Default "room.default=False" due to https://github.com/matrix-org/synapse/issues/13837 Fixes #348 --- nio/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nio/schemas.py b/nio/schemas.py index b5352487..67dced40 100644 --- a/nio/schemas.py +++ b/nio/schemas.py @@ -1574,7 +1574,7 @@ class Schemas: "type": "object", "properties": { "rule_id": {"type": "string"}, - "default": {"type": "boolean"}, + "default": {"type": "boolean", "default": False}, "enabled": {"type": "boolean"}, "pattern": {"type": "string"}, "conditions": {