Only fire setting changes for changed settings

Previously we were firing updates for everything, which is bad. This has an effect of causing the room list to update itself every time the user goes to toggle some account settings.
This commit is contained in:
Travis Ralston 2020-06-22 10:18:38 -06:00
parent 13282bddad
commit 099661c2aa
6 changed files with 97 additions and 9 deletions

View file

@ -42,6 +42,10 @@ export default class MatrixClientBackedSettingsHandler extends SettingsHandler {
MatrixClientBackedSettingsHandler._instances.push(this);
}
get client() {
return MatrixClientBackedSettingsHandler._matrixClient;
}
initMatrixClient() {
console.warn("initMatrixClient not overridden");
}