diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index c46149bfeb..09b6baf2be 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -995,8 +995,18 @@ module.exports = React.createClass({ var eventId = mxEv.getId(); var highlight = (eventId == this.props.highlightedEventId); + + var scrollToken = eventId; + // we can't use local echoes as scroll tokens, because their event + // IDs change. + if (mxEv.status) { + scrollToken = undefined; + } + ret.push( -