mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-06-28 23:52:06 +00:00
Use glob_to_regex from matrix-common
This commit is contained in:
parent
1592440bc9
commit
3016ba25cb
|
@ -13,7 +13,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from synapse.util import glob_to_regex
|
||||
from matrix_common.regex import glob_to_regex
|
||||
|
||||
RECOMMENDATION_BAN = "m.ban"
|
||||
RECOMMENDATION_BAN_TYPES = [RECOMMENDATION_BAN, "org.matrix.mjolnir.ban"]
|
||||
|
|
|
@ -7,5 +7,7 @@ setup(
|
|||
description="Mjolnir Antispam",
|
||||
include_package_data=True,
|
||||
zip_safe=True,
|
||||
install_requires=[],
|
||||
install_requires=[
|
||||
"matrix-common >= 1.0.0"
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user