reinstate event-continuation logic

Forgot to set prevEvent in the merge from develop, so we were never applying
the correct continuation logic.
This commit is contained in:
Richard van der Hoff 2016-02-23 18:43:51 +00:00
parent d599c8fbd2
commit 68e0192acc

View file

@ -159,6 +159,7 @@ module.exports = React.createClass({
if (wantTile) { if (wantTile) {
ret.push(this._getTilesForEvent(prevEvent, mxEv, last)); ret.push(this._getTilesForEvent(prevEvent, mxEv, last));
prevEvent = mxEv;
} else if (!mxEv.status) { } else if (!mxEv.status) {
// if we aren't showing the event, put in a dummy scroll token anyway, so // if we aren't showing the event, put in a dummy scroll token anyway, so
// that we can scroll to the right place. // that we can scroll to the right place.