1
0

Use client_patterns() for endpoint URL

See https://github.com/element-hq/synapse/pull/17167#discussion_r1608170900
This commit is contained in:
Eric Eastwood
2024-05-21 09:54:31 -05:00
parent 02cecfa626
commit f6122ff0a2

View File

@@ -612,7 +612,9 @@ class SlidingSyncE2eeRestServlet(RestServlet):
}
"""
PATTERNS = (re.compile("^/_matrix/client/unstable/org.matrix.msc3575/sync/e2ee$"),)
PATTERNS = client_patterns(
"/org.matrix.msc3575/sync/e2ee$", releases=[], v1=False, unstable=True
)
def __init__(self, hs: "HomeServer"):
super().__init__()