Upgrade to rust sdk 0.1.71 (#1905)

https://github.com/matrix-org/matrix-rust-components-kotlin/releases/tag/sdk-v0.1.71

There are breaking changes as specified in: https://github.com/vector-im/element-x-android/issues/1898 plus the one related to the poll history feature.
This commit is contained in:
Marco Romano 2023-11-29 10:34:51 +01:00 committed by GitHub
parent f186a85ed0
commit 6ea26dd6c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 91 additions and 75 deletions

View file

@ -129,11 +129,11 @@ class SecureBackupSetupPresenter @AssistedInject constructor(
encryptionService.enableRecoveryProgressStateFlow.collect { enableRecoveryProgress ->
Timber.tag(loggerTagSetup.value).d("New enableRecoveryProgress: ${enableRecoveryProgress.javaClass.simpleName}")
when (enableRecoveryProgress) {
EnableRecoveryProgress.Unknown,
is EnableRecoveryProgress.Starting,
is EnableRecoveryProgress.CreatingBackup,
is EnableRecoveryProgress.CreatingRecoveryKey,
is EnableRecoveryProgress.BackingUp,
EnableRecoveryProgress.CreatingBackup,
EnableRecoveryProgress.CreatingRecoveryKey ->
Unit
is EnableRecoveryProgress.RoomKeyUploadError -> Unit
is EnableRecoveryProgress.Done ->
stateAndDispatch.dispatchAction(SecureBackupSetupStateMachine.Event.SdkHasCreatedKey(enableRecoveryProgress.recoveryKey))
}