You've already forked matrix-js-sdk
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:
@@ -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"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user