mirror of https://github.com/vector-im/riot-web
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
|
||||
// immediately, to save a later render cycle
|
||||
|
||||
// This call will setState with readMarkerEventId = lastEv.getId()
|
||||
this._setReadMarker(lastEv.getId(), lastEv.getTs(), true);
|
||||
updatedState.readMarkerVisible = false;
|
||||
updatedState.readMarkerEventId = lastEv.getId();
|
||||
callback = this.props.onReadMarkerUpdated;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue