You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +03: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:
@ -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.
|
||||||
|
Reference in New Issue
Block a user