summary refs log tree commit diff
path: root/synapse/storage/push_rule.py
diff options
context:
space:
mode:
authorPaul Evans <leonerd@leonerd.org.uk>2015-03-11 17:55:31 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2015-03-11 17:55:31 +0000
commitd33a3b91c391578fe6809d4028c0e8481dab00cd (patch)
tree46fc80ca894883a97ffb4bf520630f83b3d081ae /synapse/storage/push_rule.py
parentAgain, underscore, not hyphen (diff)
parentAppease pep8 (diff)
downloadsynapse-d33a3b91c391578fe6809d4028c0e8481dab00cd.tar.xz
Merge pull request #107 from matrix-org/add_desc_to_storage_execute
Add desc to storage execute
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: