You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +03:00
Fix up merge to develop
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user