Revert change

pull/21833/head
Luke Barnard 2017-04-19 10:20:24 +01:00
parent e32f153573
commit 00cf5b5918
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
} }