adjust comment to reflect which keys we're talking about

This commit is contained in:
Bruno Windels 2023-03-31 11:57:10 +02:00
parent a1b7696b91
commit c8769514f3

View File

@ -411,7 +411,7 @@ export class CrossSigning {
const request = this.hsApi.uploadSignatures(payload, {log}); const request = this.hsApi.uploadSignatures(payload, {log});
await request.response(); await request.response();
// we don't write the signatures to storage, as we don't want to have too many special // we don't write the signatures to storage, as we don't want to have too many special
// cases in the trust algorithm, so instead we just clear the cross signing keys // cases in the trust algorithm, so instead we just clear the device keys
// so that they will be refetched when trust is recalculated // so that they will be refetched when trust is recalculated
await this.deviceTracker.invalidateUserKeys(this.ownUserId); await this.deviceTracker.invalidateUserKeys(this.ownUserId);
this.emitUserTrustUpdate(this.ownUserId, log); this.emitUserTrustUpdate(this.ownUserId, log);