mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
cleanup comments
This commit is contained in:
parent
34b113b26e
commit
3a303ff84d
@ -117,7 +117,6 @@ export class CrossSigning {
|
|||||||
log.set("mskNotTrusted", true);
|
log.set("mskNotTrusted", true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// need to be able to get the msk for the user
|
|
||||||
const keyToSign = await this.deviceTracker.deviceForId(this.ownUserId, deviceId, this.hsApi, log);
|
const keyToSign = await this.deviceTracker.deviceForId(this.ownUserId, deviceId, this.hsApi, log);
|
||||||
if (!keyToSign) {
|
if (!keyToSign) {
|
||||||
return undefined;
|
return undefined;
|
||||||
@ -135,7 +134,6 @@ export class CrossSigning {
|
|||||||
log.set("mskNotTrusted", true);
|
log.set("mskNotTrusted", true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// need to be able to get the msk for the user
|
|
||||||
// can't sign own user
|
// can't sign own user
|
||||||
if (userId === this.ownUserId) {
|
if (userId === this.ownUserId) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user