Temporarily disable notification branch

This commit is contained in:
Erik Johnston 2016-01-13 17:37:09 +00:00
parent 806bae1ee7
commit fcb05b4c82
3 changed files with 14 additions and 7 deletions

View file

@ -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