Merge pull request #253 from matrix-org/rav/fix_jump_to_read_marker

Don't reload the DOM if we can jump straight to the RM
This commit is contained in:
Richard van der Hoff 2016-03-31 00:59:23 +01:00
commit ec8fecb953

View file

@ -444,6 +444,7 @@ var TimelinePanel = React.createClass({
// the relevant event.
this.refs.messagePanel.scrollToEvent(this.state.readMarkerEventId,
0, 1/3);
return;
}
// Looks like we haven't loaded the event corresponding to the read-marker.