mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-01 03:41:31 +02:00
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:
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…
x
Reference in New Issue
Block a user