You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Length of the returned array, not the index of the timeline event.
This commit is contained in:
@@ -741,7 +741,7 @@ module.exports = React.createClass({
|
|||||||
// A read up to marker has died and returned as a ghost!
|
// A read up to marker has died and returned as a ghost!
|
||||||
// Lives in the dom as the ghost of the previous one while it fades away
|
// Lives in the dom as the ghost of the previous one while it fades away
|
||||||
if (eventId == this.state.readMarkerGhostEventId) {
|
if (eventId == this.state.readMarkerGhostEventId) {
|
||||||
ghostIndex = i + 1;
|
ghostIndex = ret.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
prevEvent = mxEv;
|
prevEvent = mxEv;
|
||||||
|
|||||||
Reference in New Issue
Block a user