mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 23:14:06 -04:00
Change event_push_actions_rm_tokens schema
This commit is contained in:
parent
2e36689df3
commit
771528ab13
5 changed files with 67 additions and 21 deletions
|
@ -706,10 +706,8 @@ class SyncHandler(BaseHandler):
|
|||
)
|
||||
|
||||
if notifs is not None:
|
||||
unread_notifications["notification_count"] = len(notifs)
|
||||
unread_notifications["highlight_count"] = len([
|
||||
1 for notif in notifs if _action_has_highlight(notif["actions"])
|
||||
])
|
||||
unread_notifications["notification_count"] = notifs["notify_count"]
|
||||
unread_notifications["highlight_count"] = notifs["highlight_count"]
|
||||
|
||||
logger.debug("Room sync: %r", room_sync)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue