diff --git a/lib/models/room.js b/lib/models/room.js index f11cae1aa..61c809366 100644 --- a/lib/models/room.js +++ b/lib/models/room.js @@ -1323,6 +1323,18 @@ module.exports = Room; * }); */ +/** + * Fires whenever the live timeline in a room is reset. + * + * When we get a 'limited' sync (for example, after a network outage), we reset + * the live timeline to be empty before adding the recent events to the new + * timeline. This event is fired after the timeline is reset, and before the + * new events are added. + * + * @event module:client~MatrixClient#"Room.timelineReset" + * @param {Room} room The room whose live timeline was reset. + */ + /** * Fires when the status of a transmitted event is updated. * @@ -1357,15 +1369,3 @@ module.exports = Room; * * @param {EventStatus} oldStatus The previous event status. */ - -/** - * Fires whenever the live timeline in a room is reset. - * - * When we get a 'limited' sync (for example, after a network outage), we reset - * the live timeline to be empty before adding the recent events to the new - * timeline. This event is fired after the timeline is reset, and before the - * new events are added. - * - * @event module:client~MatrixClient#"Room.timelineReset" - * @param {Room} room The room whose live timeline was reset. - */