Add test for RoomListEvents.DismissRecoveryKeyPrompt.

Also get the encryptionService from the matrixClient, instead of injecting it separately.
This commit is contained in:
Benoit Marty 2024-02-19 12:26:41 +01:00 committed by Benoit Marty
parent 3cbbde7c3e
commit f372fd27cf
4 changed files with 43 additions and 10 deletions

View file

@ -103,6 +103,10 @@ class FakeEncryptionService : EncryptionService {
backupStateStateFlow.emit(state)
}
suspend fun emitRecoveryState(state: RecoveryState) {
recoveryStateStateFlow.emit(state)
}
suspend fun emitEnableRecoveryProgress(state: EnableRecoveryProgress) {
enableRecoveryProgressStateFlow.emit(state)
}