fix comment & use room.getUnfilteredTimelineSet()

This commit is contained in:
Matthew Hodgson 2016-09-08 14:38:34 +01:00
parent c882d66b0d
commit f88ba9df11
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ var MatrixClientPeg = require("../../MatrixClientPeg");
var dis = require("../../dispatcher");
/*
* Component which shows the filtered file using a TimelinePanel
* Component which shows the global notification list using a TimelinePanel
*/
var NotificationPanel = React.createClass({
displayName: 'NotificationPanel',

View file

@ -1570,7 +1570,7 @@ module.exports = React.createClass({
var messagePanel = (
<TimelinePanel ref={this._gatherTimelinePanelRef}
timelineSet={this.state.room.getTimelineSets()[0]}
timelineSet={this.state.room.getUnfilteredTimelineSet()}
manageReadReceipts={true}
manageReadMarkers={true}
hidden={hideMessagePanel}