mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
092cded211
* Update Matrix Rust SDK to 26.10.07-nightly * Adapt to the new QR code login task API `generate()` and `scan()` of `GrantLoginWithQrCodeHandler` and `LoginWithQrCodeHandler` now return a task instead of suspending until the flow is over. Wait for the task to complete, and cancel it if the coroutine is cancelled, so that the flow is also stopped on the Rust side. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Add tests for the cancellation of the QR code login tasks Check that cancelling the coroutine of the link new device handlers and of the QR code login cancels the task returned by the SDK, so that the flow is stopped on the Rust side. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Fix import ordering in the link new device handler tests ktlint expects the imports to be sorted in lexicographic order. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Benoit Marty <benoit@matrix.org> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>