Skip to content

Commit

Permalink
Use client_patterns() for endpoint URL
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed May 21, 2024
1 parent 02cecfa commit f6122ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synapse/rest/client/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__()
Expand Down

0 comments on commit f6122ff

Please sign in to comment.