summary refs log tree commit diff
path: root/synapse/config/oembed.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/oembed.py')
-rw-r--r--synapse/config/oembed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/oembed.py b/synapse/config/oembed.py
index d7959639ee..59bc0b55f4 100644
--- a/synapse/config/oembed.py
+++ b/synapse/config/oembed.py
@@ -30,7 +30,7 @@ class OEmbedEndpointConfig:
     # The API endpoint to fetch.
     api_endpoint: str
     # The patterns to match.
-    url_patterns: List[Pattern]
+    url_patterns: List[Pattern[str]]
     # The supported formats.
     formats: Optional[List[str]]