Skip to content

Commit

Permalink
ElementR: fix emoji verification stalling when both ends hit start at…
Browse files Browse the repository at this point in the history
… the same time (#4004)

* Rust crypto: handle the SAS verifier being replaced

* lint

* make changes from review

* apply changes from code review

* remove useless assertions

* wrap acceptance inside a try-catch, and factor out acceptance into a function

* fix bugs

* we don't actually need the .accept variable

* move setInner to inside SAS class, and rename to replaceInner

* use defer to avoid using a closure

* lint

* prettier

* use the right name

Co-authored-by: Richard van der Hoff <[email protected]>

* combine onChangeCallback with onChange

* apply changes from review

* add test for QR code verification, and try changing order in onChange

* lint

---------

Co-authored-by: Richard van der Hoff <[email protected]>
  • Loading branch information
uhoreg and richvdh authored Jan 31, 2024
1 parent d178fbf commit 8007bc5
Show file tree
Hide file tree
Showing 2 changed files with 571 additions and 32 deletions.
Loading

0 comments on commit 8007bc5

Please sign in to comment.