1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-01 21:21:58 +03:00
This commit is contained in:
Kegan Dougal
2015-12-15 16:54:26 +00:00
parent 4cd6f615b3
commit 77356f0007

View File

@@ -470,6 +470,10 @@ SyncApi.prototype._processRoomEvents = function(room, stateEventList,
this._resolveInvites(room);
// recalculate the room name at this point as adding events to the timeline
// may make notifications appear which should have the right name.
room.recalculate(this.client.credentials.userId);
// execute the timeline events, this will begin to diverge the current state
// if the timeline has any state events in it.
room.addEventsToTimeline(timelineEventList);