use new onRoomTimelineReset API to let notif timeline reset itself
This commit is contained in:
parent
6f270fd621
commit
be33c35876
1 changed files with 2 additions and 2 deletions
|
@ -387,8 +387,8 @@ var TimelinePanel = React.createClass({
|
|||
});
|
||||
},
|
||||
|
||||
onRoomTimelineReset: function(room) {
|
||||
if (room !== this.props.timelineSet.room) return;
|
||||
onRoomTimelineReset: function(room, timelineSet) {
|
||||
if (timelineSet !== this.props.timelineSet) return;
|
||||
|
||||
if (this.refs.messagePanel && this.refs.messagePanel.isAtBottom()) {
|
||||
this._loadTimeline();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue