Prevent the ghost and real RM tile from both appearing

This commit is contained in:
Luke Barnard 2017-04-12 15:04:38 +01:00
parent 880a48494b
commit 424aae6b91

View file

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