diff options
author | reivilibre <oliverw@matrix.org> | 2022-01-05 11:41:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 11:41:49 +0000 |
commit | 84bfe47b01402cf037417f0026ed4077223ed259 (patch) | |
tree | 91459a8f2f39807559e364e40bd1c17958ea8321 /synapse/config/room_directory.py | |
parent | Clarify SSO mapping provider documentation by writing `def` or `async def` be... (diff) | |
download | synapse-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.py | 3 |
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 |