Merge pull request #4532 from matrix-org/dbkr/remove_unnecessary_return

Fix device verification toasts not disappearing
This commit is contained in:
David Baker 2020-04-30 11:13:14 +01:00 committed by GitHub
commit e210f570f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,7 +223,6 @@ export default class DeviceListener {
});
}
}
return;
} else if (await cli.secretStorageKeyNeedsUpgrade()) {
ToastStore.sharedInstance().addOrReplaceToast({
key: THIS_DEVICE_TOAST_KEY,