From bd66f4384d5a83ed4e5a2c04507a72b5a523f01e Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Fri, 19 May 2023 17:44:42 +0200 Subject: [PATCH] types --- synapse/types/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synapse/types/__init__.py b/synapse/types/__init__.py index dd0421df46..1ea31c4510 100644 --- a/synapse/types/__init__.py +++ b/synapse/types/__init__.py @@ -963,14 +963,14 @@ class UserInfo: class PublicRoom(TypedDict, total=False): - room_id: Required[str] + room_id: str name: Optional[str] topic: Optional[str] - num_joined_members: Required[int] + num_joined_members: int canonical_alias: Optional[str] avatar_url: Optional[str] - world_readable: Required[bool] - guest_can_join: Required[bool] + world_readable: bool + guest_can_join: bool join_rule: Optional[str] room_type: Optional[str]