You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Update onRoomTimeline comment
This commit is contained in:
@ -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) {
|
if (this.refs.messagePanel) {
|
||||||
this.refs.messagePanel.checkFillState();
|
this.refs.messagePanel.checkFillState();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user