1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

reemit timelineReset correctly from Sync

This commit is contained in:
Matthew Hodgson
2016-09-11 02:15:29 +01:00
parent e614e17a71
commit 87c6a40b3f

View File

@@ -75,7 +75,8 @@ function SyncApi(client, opts) {
this._notifEvents = []; // accumulator of sync events in the current sync response this._notifEvents = []; // accumulator of sync events in the current sync response
if (client.getNotifTimelineSet()) { if (client.getNotifTimelineSet()) {
reEmit(client, client.getNotifTimelineSet(), ["Room.timeline"]); reEmit(client, client.getNotifTimelineSet(),
["Room.timeline", "Room.timelineReset"]);
} }
} }