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

Fix device verification toasts not disappearing
pull/21833/head
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
1 changed files with 0 additions and 1 deletions

View File

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