You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-09-01 21:21:58 +03:00
style
This commit is contained in:
@@ -472,10 +472,10 @@ SyncApi.prototype._sync = function(syncOptions, attempt) {
|
||||
room.unread_notifications = joinObj.unread_notifications || {};
|
||||
if (joinObj.unread_notifications) {
|
||||
room.setUnreadNotificationCount(
|
||||
'total', joinObj.unread_notifications['notification_count']
|
||||
'total', joinObj.unread_notifications.notification_count
|
||||
);
|
||||
room.setUnreadNotificationCount(
|
||||
'highlight', joinObj.unread_notifications['highlight_count']
|
||||
'highlight', joinObj.unread_notifications.highlight_count
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user