mirror of https://github.com/vector-im/riot-web
Fix up merge to develop
parent
f3af603102
commit
3829362754
|
@ -28,6 +28,14 @@ import {
|
||||||
PHASE_FINISHED,
|
PHASE_FINISHED,
|
||||||
} from '../../../stores/SetupEncryptionStore';
|
} from '../../../stores/SetupEncryptionStore';
|
||||||
|
|
||||||
|
function keyHasPassphrase(keyInfo) {
|
||||||
|
return (
|
||||||
|
keyInfo.passphrase &&
|
||||||
|
keyInfo.passphrase.salt &&
|
||||||
|
keyInfo.passphrase.iterations
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
export default class SetupEncryptionBody extends React.Component {
|
export default class SetupEncryptionBody extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
onFinished: PropTypes.func.isRequired,
|
onFinished: PropTypes.func.isRequired,
|
||||||
|
|
|
@ -36,7 +36,7 @@ export class SetupEncryptionStore extends EventEmitter {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._started = true;
|
this._started = true;
|
||||||
this.phase = PHASE_INTRO;
|
this.phase = PHASE_BUSY;
|
||||||
this.verificationRequest = null;
|
this.verificationRequest = null;
|
||||||
this.backupInfo = null;
|
this.backupInfo = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue