summary refs log tree commit diff
path: root/synapse/push/action_generator.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-14 09:46:09 +0000
committerErik Johnston <erik@matrix.org>2016-01-14 09:46:09 +0000
commit939cbd7057d971f08477382d2aa88afbdc0f1d5e (patch)
tree7e359055122cfbf552c14cbbdf7ca53066f4510f /synapse/push/action_generator.py
parentMerge pull request #488 from matrix-org/markjh/user_name (diff)
parentDon't change signature. Return empty list (diff)
downloadsynapse-939cbd7057d971f08477382d2aa88afbdc0f1d5e.tar.xz
Merge pull request #495 from matrix-org/erikj/disable_notification
Temporarily disable notification branch
Diffstat (limited to 'synapse/push/action_generator.py')
-rw-r--r--synapse/push/action_generator.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/push/action_generator.py b/synapse/push/action_generator.py
index 4cf94f6c61..73467f3adc 100644
--- a/synapse/push/action_generator.py
+++ b/synapse/push/action_generator.py
@@ -36,6 +36,9 @@ class ActionGenerator:
 
     @defer.inlineCallbacks
     def handle_push_actions_for_event(self, event, handler):
+        # Temporarily disable notifications due to performance concerns.
+        return
+
         if event.type == EventTypes.Redaction and event.redacts is not None:
             yield self.store.remove_push_actions_for_event_id(
                 event.room_id, event.redacts