summary refs log tree commit diff
path: root/synapse/push/__init__.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-03-02 18:17:19 +0000
committerDavid Baker <dave@matrix.org>2015-03-02 18:17:19 +0000
commit6fab7bd2c1102c3f3254074cc996d950805531b4 (patch)
tree5ce2f6d16e3f832fb69b50eaea5592a00639c1f2 /synapse/push/__init__.py
parentOops, missed a replacement. (diff)
downloadsynapse-6fab7bd2c1102c3f3254074cc996d950805531b4.tar.xz
s/user_name/user/ as per mjark's comment
Diffstat (limited to 'synapse/push/__init__.py')
-rw-r--r--synapse/push/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index d4da05f093..ba1aac30fb 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -76,13 +76,13 @@ class Pusher(object):
             if ev['state_key'] != self.user_name:
                 defer.returnValue(['dont_notify'])
 
-        rawrules = yield self.store.get_push_rules_for_user_name(self.user_name)
+        rawrules = yield self.store.get_push_rules_for_user(self.user_name)
 
         for r in rawrules:
             r['conditions'] = json.loads(r['conditions'])
             r['actions'] = json.loads(r['actions'])
 
-        enabled_map = yield self.store.get_push_rules_enabled_for_user_name(self.user_name)
+        enabled_map = yield self.store.get_push_rules_enabled_for_user(self.user_name)
 
         user = UserID.from_string(self.user_name)