File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,8 @@ internal class PrepareToEncryptUseCase @Inject constructor(
121
121
HistoryVisibility .INVITED
122
122
} else {
123
123
HistoryVisibility .JOINED
124
- }
124
+ },
125
+ errorOnVerifiedUserProblem = false ,
125
126
)
126
127
measureTimeMillis {
127
128
keyShareLock.withLock {
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import org.matrix.rustcomponents.sdk.crypto.CryptoStoreException
34
34
import org.matrix.rustcomponents.sdk.crypto.Sas
35
35
import org.matrix.rustcomponents.sdk.crypto.SasListener
36
36
import org.matrix.rustcomponents.sdk.crypto.SasState
37
+ import timber.log.Timber
37
38
38
39
/* * Class representing a short auth string verification flow. */
39
40
internal class SasVerification @AssistedInject constructor(
@@ -72,6 +73,11 @@ internal class SasVerification @AssistedInject constructor(
72
73
73
74
override fun state (): SasTransactionState {
74
75
return when (val state = innerState) {
76
+ SasState .Created -> {
77
+ // Note: this does not seem to be used, but emit a warning just in case.
78
+ Timber .w(" SasState.Created received" )
79
+ SasTransactionState .None
80
+ }
75
81
SasState .Started -> SasTransactionState .SasStarted
76
82
SasState .Accepted -> SasTransactionState .SasAccepted
77
83
is SasState .KeysExchanged -> {
You can’t perform that action at this time.
0 commit comments