diff --git a/synapse/types/__init__.py b/synapse/types/__init__.py index ea6b1625c..60b9273ed 100644 --- a/synapse/types/__init__.py +++ b/synapse/types/__init__.py @@ -364,7 +364,7 @@ class RoomIdWithDomain(DomainSpecificString): ROOM_ID_PATTERN_DOMAINLESS = re.compile(r"^[A-Za-z0-9\-_]{43}$") -@attr.define(slots=True, frozen=True, repr=False) +@attr.s(slots=True, frozen=True, repr=False) class RoomID: """Structure representing a room id without a domain. There are two forms of room IDs: