Revert change
parent
e32f153573
commit
00cf5b5918
|
@ -418,9 +418,9 @@ var TimelinePanel = React.createClass({
|
||||||
// we know we're stuckAtBottom, so we can advance the RM
|
// we know we're stuckAtBottom, so we can advance the RM
|
||||||
// immediately, to save a later render cycle
|
// immediately, to save a later render cycle
|
||||||
|
|
||||||
// This call will setState with readMarkerEventId = lastEv.getId()
|
|
||||||
this._setReadMarker(lastEv.getId(), lastEv.getTs(), true);
|
this._setReadMarker(lastEv.getId(), lastEv.getTs(), true);
|
||||||
updatedState.readMarkerVisible = false;
|
updatedState.readMarkerVisible = false;
|
||||||
|
updatedState.readMarkerEventId = lastEv.getId();
|
||||||
callback = this.props.onReadMarkerUpdated;
|
callback = this.props.onReadMarkerUpdated;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue