Add hasCrossSigninAccountData function
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
d978776993
commit
4bbdf3196e
1 changed files with 6 additions and 0 deletions
|
@ -174,3 +174,9 @@ export function isCrossVerified(deviceId) {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export function hasCrossSigninAccountData() {
|
||||
const mx = initMatrix.matrixClient;
|
||||
const masterKeyData = mx.getAccountData('m.cross_signing.master');
|
||||
return !!masterKeyData;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue