mirror of https://github.com/vector-im/riot-web
Use new js-sdk public unpaginate
parent
beecbc7cd7
commit
3618b49982
|
@ -264,7 +264,7 @@ var TimelinePanel = React.createClass({
|
||||||
|
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
debuglog("TimelinePanel: Unpaginating", count, "in direction", dir);
|
debuglog("TimelinePanel: Unpaginating", count, "in direction", dir);
|
||||||
this._timelineWindow._unpaginate(count, backwards);
|
this._timelineWindow.unpaginate(count, backwards);
|
||||||
this.setState({
|
this.setState({
|
||||||
events: this._getEvents(),
|
events: this._getEvents(),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue