diff options
author | Erik Johnston <erik@matrix.org> | 2015-10-12 15:06:18 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-10-12 15:06:18 +0100 |
commit | f6fde343a10890e2e8a509e82babb34dd0fbaf06 (patch) | |
tree | eab85df2d409119042a731667bd1cec1bc70028f /synapse/push/__init__.py | |
parent | Remove unused room_id parameter (diff) | |
parent | Merge pull request #296 from matrix-org/markjh/eventstream_presence (diff) | |
download | synapse-f6fde343a10890e2e8a509e82babb34dd0fbaf06.tar.xz |
Merge remote-tracking branch 'origin/develop' into erikj/search
Diffstat (limited to 'synapse/push/__init__.py')
-rw-r--r-- | synapse/push/__init__.py | 2 |
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 |