From 3d960d88b38c93fa82be2e98e57c9f146460f056 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 18 Mar 2026 07:53:13 -0500 Subject: [PATCH] Add MSC3820 comment context to `RoomVersion` attributes (#19577) Spawning from https://github.com/element-hq/synapse/pull/19424#discussion_r2855303614 --- changelog.d/19577.misc | 1 + synapse/api/room_versions.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/19577.misc diff --git a/changelog.d/19577.misc b/changelog.d/19577.misc new file mode 100644 index 0000000000..d26790e490 --- /dev/null +++ b/changelog.d/19577.misc @@ -0,0 +1 @@ +Add MSC3820 comment context to `RoomVersion` attributes. diff --git a/synapse/api/room_versions.py b/synapse/api/room_versions.py index 2f98d7a8a8..13c7758638 100644 --- a/synapse/api/room_versions.py +++ b/synapse/api/room_versions.py @@ -86,9 +86,9 @@ class RoomVersion: # MSC2209: Check 'notifications' key while verifying # m.room.power_levels auth rules. limit_notifications_power_levels: bool - # No longer include the creator in m.room.create events. + # MSC3820: No longer include the creator in m.room.create events (room version 11) implicit_room_creator: bool - # Apply updated redaction rules algorithm from room version 11. + # MSC3820: Apply updated redaction rules algorithm from room version 11 updated_redaction_rules: bool # Support the 'restricted' join rule. restricted_join_rule: bool