mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 09:00:07 +00:00
Don't change signature. Return empty list
This commit is contained in:
parent
fcb05b4c82
commit
2655d61d70
1 changed files with 2 additions and 2 deletions
|
@ -840,9 +840,9 @@ class SyncHandler(BaseHandler):
|
|||
return False
|
||||
|
||||
@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.
|
||||
return
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue