1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-03 08:42:03 +03:00

Fix PR comments: typos and redundant line

This commit is contained in:
David Baker
2016-01-20 18:52:32 +00:00
parent b4e4aaff00
commit a24a9d35c4
2 changed files with 2 additions and 3 deletions

View File

@@ -469,7 +469,6 @@ SyncApi.prototype._sync = function(syncOptions, attempt) {
var accountDataEvents = self._mapSyncEventsFormat(joinObj.account_data);
// we do this first so it's correct when any of the events fire
room.unread_notifications = joinObj.unread_notifications || {};
if (joinObj.unread_notifications) {
room.setUnreadNotificationCount(
'total', joinObj.unread_notifications.notification_count