summary refs log tree commit diff
path: root/synapse/storage/push_rule.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-03-11 17:19:17 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-03-11 17:19:17 +0000
commit59a5f012ccaef5c255014efdbbb800ecfb73a2b7 (patch)
tree9576e6daeddaff614400f3b3e5afa78d00ad7dcd /synapse/storage/push_rule.py
parentAdd a description to storage layer's _execute_and_decode() (diff)
downloadsynapse-59a5f012ccaef5c255014efdbbb800ecfb73a2b7.tar.xz
Also give _execute() a description
Diffstat (limited to 'synapse/storage/push_rule.py')
-rw-r--r--synapse/storage/push_rule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/push_rule.py b/synapse/storage/push_rule.py
index 1628489fa7..d769db2c78 100644
--- a/synapse/storage/push_rule.py
+++ b/synapse/storage/push_rule.py
@@ -34,7 +34,7 @@ class PushRuleStore(SQLBaseStore):
             "WHERE user_name = ? "
             "ORDER BY priority_class DESC, priority DESC"
         )
-        rows = yield self._execute(None, sql, user_name)
+        rows = yield self._execute("get_push_rules_for_user", None, sql, user_name)
 
         dicts = []
         for r in rows: