Prevent the ghost and real RM tile from both appearing

pull/21833/head
Luke Barnard 2017-04-12 15:04:38 +01:00
parent 880a48494b
commit 424aae6b91
1 changed files with 1 additions and 3 deletions

View File

@ -386,9 +386,7 @@ module.exports = React.createClass({
ret.push(this._getReadMarkerTile(visible)); ret.push(this._getReadMarkerTile(visible));
readMarkerVisible = visible; readMarkerVisible = visible;
isVisibleReadMarker = visible; isVisibleReadMarker = visible;
} } else if (eventId == this.currentGhostEventId) {
if (eventId == this.currentGhostEventId) {
// if we're showing an animation, continue to show it. // if we're showing an animation, continue to show it.
ret.push(this._getReadMarkerGhostTile()); ret.push(this._getReadMarkerGhostTile());
} else if (!isVisibleReadMarker && } else if (!isVisibleReadMarker &&