1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-16 22:01:54 +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:
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) {
ret.push(this._getTilesForEvent(prevEvent, mxEv, last));
prevEvent = mxEv;
} else if (!mxEv.status) {
// if we aren't showing the event, put in a dummy scroll token anyway, so
// that we can scroll to the right place.