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

@ -840,7 +840,10 @@ class SyncHandler(BaseHandler):
return False
@defer.inlineCallbacks
def unread_notifs_for_room_id(self, room_id, sync_config, ephemeral_by_room):
def unreadnotifs_for_room_id(self, room_id, sync_config, ephemeral_by_room):
# Temporarily disable notifications due to performance concerns.
return
last_unread_event_id = self.last_read_event_id_for_room_and_user(
room_id, sync_config.user.to_string(), ephemeral_by_room
)