summary refs log tree commit diff
path: root/synapse/config/room_directory.py
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2021-12-06 11:36:08 +0000
committerGitHub <noreply@github.com>2021-12-06 11:36:08 +0000
commita77c36989785c0d5565ab9a1169f4f88e512ce8a (patch)
treed3f095c83192afb66d4b33113a473e4d2d7ddbf5 /synapse/config/room_directory.py
parentUpdate backward extremity docs to make it clear that it does not indicate whe... (diff)
downloadsynapse-a77c36989785c0d5565ab9a1169f4f88e512ce8a.tar.xz
Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505)
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