Update src/matrix/verification/CrossSigning.ts

This commit is contained in:
Bruno Windels 2023-03-30 09:37:54 +00:00 committed by GitHub
parent 67cc426b85
commit f158197685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ export class CrossSigning {
/**
* If we receive an event for the current/previously finished
* SAS verification, we should ignore it because the device channel
* object will take care of it (if needed).
* object (who also listens for to_device messages) will take care of it (if needed).
*/
const shouldIgnoreEvent = this.sasVerificationInProgress?.channel.id === txnId;
if (shouldIgnoreEvent) { return; }