summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-05-31 15:46:24 +0100
committerErik Johnston <erik@matrix.org>2016-05-31 15:46:24 +0100
commitfd3108fda6dde480bf5cdc98c322613794772fe8 (patch)
treee0eb4a9fc5c7dcf795e703232e88943795d8515d
parentMerge branch 'erikj/push_rules_cache' of github.com:matrix-org/synapse into e... (diff)
parentFix typo (diff)
downloadsynapse-fd3108fda6dde480bf5cdc98c322613794772fe8.tar.xz
Merge branch 'erikj/push_rules_cache' of github.com:matrix-org/synapse into erikj/timings
-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 65c20e8900..216a8bf69c 100644
--- a/synapse/storage/push_rule.py
+++ b/synapse/storage/push_rule.py
@@ -94,7 +94,7 @@ class PushRuleStore(SQLBaseStore):
             defer.returnValue({})
 
         results = {
-            user_id: []
+            user_id: {}
             for user_id in user_ids
         }