From e363881592840709d7a9a770897d230b8b086036 Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Tue, 9 Apr 2024 15:06:46 +0200 Subject: [PATCH] Fix PR #16677, a parameter was missing in a function call (#17033) Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> --- changelog.d/17033.bugfix | 1 + synapse/handlers/room.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog.d/17033.bugfix diff --git a/changelog.d/17033.bugfix b/changelog.d/17033.bugfix new file mode 100644 index 000000000..407ec83b3 --- /dev/null +++ b/changelog.d/17033.bugfix @@ -0,0 +1 @@ +Fix server notice rooms not always being created as unencrypted rooms, even when `encryption_enabled_by_default_for_room_type` is in use (server notices are always unencrypted). diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 8b5ffb135..5e81a5163 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -956,6 +956,7 @@ class RoomCreationHandler: room_alias=room_alias, power_level_content_override=power_level_content_override, creator_join_profile=creator_join_profile, + ignore_forced_encryption=ignore_forced_encryption, ) # we avoid dropping the lock between invites, as otherwise joins can