mirror of
https://github.com/element-hq/synapse.git
synced 2025-12-05 01:10:13 +00:00
Fix olddeps & mypy errors
This commit is contained in:
committed by
Andrew Morgan
parent
e65a6fc58a
commit
a1a40523ae
@@ -365,7 +365,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, auto_attribs=True, repr=False)
|
||||
class RoomID:
|
||||
"""Structure representing a room id without a domain.
|
||||
There are two forms of room IDs:
|
||||
|
||||
Reference in New Issue
Block a user