1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-16 22:01:54 +03:00

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 &&