Update onRoomTimeline comment

pull/21833/head
Richard van der Hoff 2016-02-01 12:35:41 +00:00
parent a4f4bb9e72
commit f0cf5c0aff
1 changed files with 5 additions and 1 deletions

View File

@ -306,7 +306,11 @@ module.exports = React.createClass({
}
}
// tell the messagepanel to go paginate itself
// tell the messagepanel to go paginate itself. This in turn will cause
// onMessageListFillRequest to be called, which will call
// _onTimelineUpdated, which will update the state with the new event -
// so there is no need update the state here.
//
if (this.refs.messagePanel) {
this.refs.messagePanel.checkFillState();
}