Test updating

This commit is contained in:
David Baker
2025-02-06 15:16:03 +01:00
parent 4a3a37323e
commit e70afdb04f
2 changed files with 24 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ const useKeyBackupIsEnabled = (): boolean | undefined => {
useEventEmitter(matrixClient, ClientEvent.AccountData, (event: MatrixEvent): void => {
const type = event.getType();
// Recheck the status if this account data has been updated as this implies it has changed
if (type === "m.org.matrix.custom.backup_disabled") {
checkStatus();
}