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

Gracefully handle verification events that are unknown locally #90

Closed
ulyssa opened this issue Apr 25, 2023 · 0 comments
Closed

Gracefully handle verification events that are unknown locally #90

ulyssa opened this issue Apr 25, 2023 · 0 comments
Assignees
Milestone

Comments

@ulyssa
Copy link
Owner

ulyssa commented Apr 25, 2023

Someone reported in #iamb-users that the client crashed with:

 thread 'iamb-worker-0' panicked at 'called `Option::unwrap()` on a `None` value', src/worker.rs:849:26
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is failing in the handler for ToDeviceKeyVerificationRequestEvent, when it tries to unwrap the get_verification_request() return value. It should just ignore it if it's unknown locally.

@ulyssa ulyssa added this to the v0.0.8 milestone Apr 25, 2023
@ulyssa ulyssa self-assigned this Apr 25, 2023
@ulyssa ulyssa closed this as completed May 2, 2023
@ulyssa ulyssa mentioned this issue Jul 8, 2023
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

No branches or pull requests

1 participant