Experimental
crossFires whenever the stored devices for a user have changed
A list of user IDs that were updated
If true, the store was empty (apart from our own device) and has been seeded.
Fires when the backup decryption key is received and cached.
The version of the backup for which we have the key for.
Fires whenever the status of e2e key backup changes, as returned by getKeyBackupEnabled()
matrixClient.on("crypto.keyBackupStatus", function(enabled){
if (enabled) {
[...]
}
});
true if key backup has been enabled, otherwise false
Fires when we receive a room key request
Fires when we receive a room key request cancellation
Fires when a key verification is requested.
Deprecated: use CryptoEvent.VerificationRequestReceived
.
Fires when a key verification request is received.
Fires when the app may wish to warn the user about something related the end-to-end crypto.
One of the strings listed above
Fires whenever the stored devices for a user will be updated
A list of user IDs that will be updated
If true, the store is empty (apart from our own device) and is being seeded.
Fires when a device is marked as verified/unverified/blocked/unblocked by MatrixClient.setDeviceVerified or MatrixClient.setDeviceBlocked.
the owner of the verified device
the id of the verified device
Experimental
userFires when the trust status of a user changes If userId is the userId of the logged-in user, this indicated a change in the trust status of the cross-signing data on the account.
The cross-signing API is currently UNSTABLE and may change without notice.
the userId of the user in question
The new trust level of the user
Generated using TypeDoc
Fires when the user's cross-signing keys have changed or cross-signing has been enabled/disabled. The client can use getStoredCrossSigningForUser with the user ID of the logged in user to check if cross-signing is enabled on the account. If enabled, it can test whether the current key is trusted using with checkUserTrust with the user ID of the logged in user. The checkOwnCrossSigningTrust function may be used to reconcile the trust in the account key.
The cross-signing API is currently UNSTABLE and may change without notice.