summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2015-02-08 00:37:03 +0000
committerMatthew Hodgson <matthew@matrix.org>2015-02-08 00:37:03 +0000
commitc2afc2ad90b1121a072765237f5c4dc8d765ddf7 (patch)
tree18d2bf98f7d662cc14eadc834c4d04d1c6c89c39 /synapse/push
parentkill off fnmatch in favour of word-boundary based push alerts (untested) (diff)
downloadsynapse-c2afc2ad90b1121a072765237f5c4dc8d765ddf7.tar.xz
oops
Diffstat (limited to 'synapse/push')
-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 8e11abfa5c..7a41c5ece3 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -147,7 +147,7 @@ class Pusher(object):
                 logger.warn("event_match condition with no pattern")
                 return False
             # XXX: optimisation: cache our pattern regexps
-            r = r'\b%s\b' % _glob_to_regexp(condition['pattern'])
+            r = r'\b%s\b' % self._glob_to_regexp(condition['pattern'])
             val = _value_for_dotted_key(condition['key'], ev)
             if val is None:
                 return False