Only offer to verify if a cross-signed device is available and improve the UX whilst waiting. (#4710)

* Only offer to verify if a cross-signed device is available

* Wait until we know which verification options are available before showing them.

---------

Co-authored-by: Hubert Chathi <hubertc@matrix.org>
This commit is contained in:
Doug
2025-11-07 12:10:12 +00:00
committed by GitHub
parent 096e2d1713
commit 51a9d8b56b
15 changed files with 142 additions and 25 deletions
@@ -67,6 +67,7 @@ extension ClientProxyMock {
notificationSettings = configuration.notificationSettings
isOnlyDeviceLeftReturnValue = .success(false)
hasDevicesToVerifyAgainstReturnValue = .success(true)
accountURLActionReturnValue = "https://matrix.org/account"
canDeactivateAccount = false
directRoomForUserIDReturnValue = .failure(.sdkError(ClientProxyMockError.generic))