cleanup comments

This commit is contained in:
Bruno Windels 2023-03-02 17:15:05 +01:00
parent 34b113b26e
commit 3a303ff84d

View File

@ -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;