summary refs log tree commit diff
path: root/synapse/config/room_directory.py
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-01-05 11:41:49 +0000
committerGitHub <noreply@github.com>2022-01-05 11:41:49 +0000
commit84bfe47b01402cf037417f0026ed4077223ed259 (patch)
tree91459a8f2f39807559e364e40bd1c17958ea8321 /synapse/config/room_directory.py
parentClarify SSO mapping provider documentation by writing `def` or `async def` be... (diff)
downloadsynapse-84bfe47b01402cf037417f0026ed4077223ed259.tar.xz
Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11505 (#11687)
Co-authored-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'synapse/config/room_directory.py')
-rw-r--r--synapse/config/room_directory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/room_directory.py b/synapse/config/room_directory.py
index 57316c59b6..3c5e0f7ce7 100644
--- a/synapse/config/room_directory.py
+++ b/synapse/config/room_directory.py
@@ -15,8 +15,9 @@
 
 from typing import List
 
+from matrix_common.regex import glob_to_regex
+
 from synapse.types import JsonDict
-from synapse.util import glob_to_regex
 
 from ._base import Config, ConfigError