From 1507b3994052b41771fb88bcb665b41f6fd38968 Mon Sep 17 00:00:00 2001 From: David Baker Date: Sat, 9 Jan 2016 00:07:51 +0000 Subject: [PATCH] Redundant line. --- src/components/structures/RoomView.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 6f9ac51e4a..2e6ebd2933 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -249,7 +249,6 @@ module.exports = React.createClass({ var readReceiptEventId = this.state.room.getEventReadUpTo(MatrixClientPeg.get().credentials.userId); var readMarkerGhostEventId = this.state.readMarkerGhostEventId; if (this.state.readReceiptEventId !== undefined && this.state.readReceiptEventId != readReceiptEventId) { - var newReadEventIndex = this._indexForEventId(readReceiptEventId); readMarkerGhostEventId = this.state.readReceiptEventId; } this.setState({