diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index ea489b326a..872640f52e 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -285,9 +285,6 @@ module.exports = React.createClass({ var scrollState = this.savedScrollState; if (scrollState.atBottom) { this.scrollToBottom(); - if (this.state.numUnreadMessages !== 0) { - this.setState({numUnreadMessages: 0}); - } } else if (scrollState.lastDisplayedEvent) { this.scrollToEvent(scrollState.lastDisplayedEvent, scrollState.pixelOffset);