Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix race between sending .request and receiving .ready over to_device #1359

Merged
merged 1 commit into from
Apr 29, 2020

Conversation

bwindels
Copy link
Contributor

This should not be a problem for verification in DM as the event we sent ourselves would always create the verification request first before processing the .ready. As to_device doesn't have remote echo, we need this mitigation.

so if the .ready event arrives before the request finishes,
it still ends up in the correct VerificationRequest
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, please also send to release!

@bwindels bwindels merged commit 2c681d9 into develop Apr 29, 2020
@t3chguy t3chguy deleted the bwindels/fixrequestreadyrace branch May 10, 2022 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants