matrix-js-sdk
efd3550f - support switching startEvent while waiting for .accept on initiator side

Commit
5 years ago
support switching startEvent while waiting for .accept on initiator side if we get a .start event from the other party and we've also sent one, the .start event with the sender that is first in sorting order should be taken, and the other one ignored. At the point where we will receive it, the verifier has already been returned from beginKeyVerification, so we'll need to switch start event internally, and retry the verification, now on the receiver (sending .accept) side instead of initiator side (sending .start).
Author
Parents
Loading