Merge pull request #3170 from matrix-org/bwindels/handle-associated-failures

Handle associated event send failures
This commit is contained in:
Bruno Windels 2019-07-03 09:02:58 +00:00 committed by GitHub
commit 353f5a205c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 153 additions and 13 deletions

View file

@ -214,6 +214,9 @@ module.exports = React.createClass({
// after an update to the contents of the panel, check that the scroll is
// where it ought to be, and set off pagination requests if necessary.
checkScroll: function() {
if (this.unmounted) {
return;
}
this._restoreSavedScrollState();
this.checkFillState();
},