diff --git a/synapse/server_notices/server_notices_manager.py b/synapse/server_notices/server_notices_manager.py index 8f16d7a076c5..686bddd7a102 100644 --- a/synapse/server_notices/server_notices_manager.py +++ b/synapse/server_notices/server_notices_manager.py @@ -209,6 +209,9 @@ async def get_or_create_notice_room_for_user(self, user_id: str) -> str: if self._config.servernotices.server_notices_room_topic: room_config["topic"] = self._config.servernotices.server_notices_room_topic + + # `ignore_forced_encryption` is used to bypass `encryption_enabled_by_default_for_room_type` + # setting if it set, since the server notices will not be encrypted anyway. room_id, _, _ = await self._room_creation_handler.create_room( requester, config=room_config,