Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Re-add comment about encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
MatMaul committed Nov 29, 2023
1 parent 3bcfe96 commit 5df2107
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synapse/server_notices/server_notices_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5df2107

Please sign in to comment.