Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Weblate 2018-03-12 15:33:08 +00:00
commit 05cdd8098b

View file

@ -1,5 +1,6 @@
/*
Copyright 2015, 2016 OpenMarket Ltd
Copyright 2018 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -82,7 +83,7 @@ module.exports = React.createClass({
}
},
onClientSync(syncState, prevState) {
onClientSync: function(syncState, prevState) {
if (this.unmounted) return;
// Consider the client reconnected if there is no error with syncing.