1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

more lint and thinkos

This commit is contained in:
Matthew Hodgson
2016-01-08 03:45:05 +00:00
parent c64aebdb17
commit 9bd45cf7c7
2 changed files with 6 additions and 5 deletions

View File

@@ -345,7 +345,8 @@ SyncApi.prototype._sync = function(syncOptions, attempt) {
var ephemeralEvents =
self._mapSyncEventsFormat(joinObj.ephemeral, undefined, 'ephemeral');
var accountDataEvents =
self._mapSyncEventsFormat(joinObj.account_data, undefined, 'account_data');
self._mapSyncEventsFormat(joinObj.account_data, undefined,
'account_data');
// we do this first so it's correct when any of the events fire
room.unread_notification_count = joinObj.unread_notification_count;