Support accounts with cross signing but no SSSS
At least at the login stage. Fixes https://github.com/vector-im/riot-web/issues/13894
This commit is contained in:
parent
b82a893a79
commit
68e555a0c6
4 changed files with 29 additions and 14 deletions
|
@ -68,7 +68,7 @@ export class SetupEncryptionStore extends EventEmitter {
|
|||
|
||||
async fetchKeyInfo() {
|
||||
const keys = await MatrixClientPeg.get().isSecretStored('m.cross_signing.master', false);
|
||||
if (Object.keys(keys).length === 0) {
|
||||
if (!keys || Object.keys(keys).length === 0) {
|
||||
this.keyId = null;
|
||||
this.keyInfo = null;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue