lint
This commit is contained in:
parent
c02d03cc5b
commit
997d6e1281
3 changed files with 7 additions and 12 deletions
|
@ -92,15 +92,14 @@ export class SetupEncryptionStore extends EventEmitter {
|
|||
this.hasDevicesToVerifyAgainst = cli.getStoredDevicesForUser(cli.getUserId()).some(
|
||||
device =>
|
||||
device.getIdentityKey() &&
|
||||
(!dehydratedDevice || (device.deviceId != dehydratedDevice.device_id))
|
||||
(!dehydratedDevice || (device.deviceId != dehydratedDevice.device_id)),
|
||||
);
|
||||
|
||||
if (!this.hasDevicesToVerifyAgainst && !this.keyInfo) {
|
||||
// skip before we can even render anything.
|
||||
// XXX: this causes a dialog box flash
|
||||
this.phase = PHASE_FINISHED;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this.phase = PHASE_INTRO;
|
||||
}
|
||||
this.emit("update");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue