summary refs log tree commit diff
path: root/synapse/push/__init__.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-10-13 13:32:43 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-10-13 13:32:43 +0100
commit32a453d7ba43f4bbf7160761858367072fe8c43f (patch)
tree3fb96db58bc18f76b2f22bee85824d7024435791 /synapse/push/__init__.py
parentMerge branch 'develop' into daniel/3pidinvites (diff)
parentMerge pull request #299 from stevenhammerton/sh-cas-required-attribute (diff)
downloadsynapse-32a453d7ba43f4bbf7160761858367072fe8c43f.tar.xz
Merge branch 'develop' into daniel/3pidinvites
Diffstat (limited to 'synapse/push/__init__.py')
-rw-r--r--synapse/push/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index f1952b5a0f..0e0c61dec8 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -186,7 +186,7 @@ class Pusher(object):
             if not display_name:
                 return False
             return re.search(
-                "\b%s\b" % re.escape(display_name), ev['content']['body'],
+                r"\b%s\b" % re.escape(display_name), ev['content']['body'],
                 flags=re.IGNORECASE
             ) is not None