Don't change signature. Return empty list
This commit is contained in:
parent
fcb05b4c82
commit
2655d61d70
|
@ -840,9 +840,9 @@ class SyncHandler(BaseHandler):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def unreadnotifs_for_room_id(self, room_id, sync_config, ephemeral_by_room):
|
def unread_notifs_for_room_id(self, room_id, sync_config, ephemeral_by_room):
|
||||||
# Temporarily disable notifications due to performance concerns.
|
# Temporarily disable notifications due to performance concerns.
|
||||||
return
|
defer.returnValue([])
|
||||||
|
|
||||||
last_unread_event_id = self.last_read_event_id_for_room_and_user(
|
last_unread_event_id = self.last_read_event_id_for_room_and_user(
|
||||||
room_id, sync_config.user.to_string(), ephemeral_by_room
|
room_id, sync_config.user.to_string(), ephemeral_by_room
|
||||||
|
|
Loading…
Reference in New Issue