diff --git a/src/crypto/index.js b/src/crypto/index.js index 77415fbb2..79b914e30 100644 --- a/src/crypto/index.js +++ b/src/crypto/index.js @@ -2027,6 +2027,10 @@ Crypto.prototype.setDeviceVerification = async function( if (!this._crossSigningInfo.getId() && userId === this._crossSigningInfo.userId) { this._storeTrustedSelfKeys(xsk.keys); + // This will cause our own user trust to change, so emit the event + this.emit( + "userTrustStatusChanged", this._userId, this.checkUserTrust(userId), + ); } // Now sign the master key with our user signing key (unless it's ourself)