mirror of https://github.com/vector-im/riot-web
reinstate event-continuation logic
Forgot to set prevEvent in the merge from develop, so we were never applying the correct continuation logic.pull/21833/head
parent
d599c8fbd2
commit
68e0192acc
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue