Re-enable urnead notifications

This commit is contained in:
Erik Johnston 2016-01-18 14:11:43 +00:00
parent f59b564507
commit 63485b3029
3 changed files with 6 additions and 13 deletions

View file

@ -841,9 +841,6 @@ class SyncHandler(BaseHandler):
@defer.inlineCallbacks
def unread_notifs_for_room_id(self, room_id, sync_config, ephemeral_by_room):
# Temporarily disable notifications due to performance concerns.
defer.returnValue([])
last_unread_event_id = self.last_read_event_id_for_room_and_user(
room_id, sync_config.user.to_string(), ephemeral_by_room
)