summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-05-21 11:13:19 +0100
committerMark Haines <mark.haines@matrix.org>2015-05-21 16:41:39 +0100
commitd61ce3f6707c3f13a21733e356766d0292815ebc (patch)
treef279764864a6898f160b3e7254b9534f7d4dcaeb /synapse/push
parentMerge branch 'hotfixes-v0.9.0-r4' of github.com:matrix-org/synapse (diff)
downloadsynapse-d61ce3f6707c3f13a21733e356766d0292815ebc.tar.xz
Add a cache for get_current_state with state_key
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 5575c847f9..8125987845 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -287,9 +287,13 @@ class Pusher(object):
             if len(actions) == 0:
                 logger.warn("Empty actions! Using default action.")
                 actions = Pusher.DEFAULT_ACTIONS
+
             if 'notify' not in actions and 'dont_notify' not in actions:
                 logger.warn("Neither notify nor dont_notify in actions: adding default")
                 actions.extend(Pusher.DEFAULT_ACTIONS)
+
+            logger.info("FNARG: %r", actions)
+
             if 'dont_notify' in actions:
                 logger.debug(
                     "%s for %s: dont_notify",