mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 13:12:30 +00:00
Fix olddeps & mypy errors
This commit is contained in:
1 parent
e65a6fc58a
commit
a1a40523ae
1 file changed
+1
-1
@@ -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