Create AppMigration09 to remove the cached well-known config from the SDK (#6026)

This value was most likely was incorrectly cached due to a previous issue in the SDK
This commit is contained in:
Jorge Martin Espinosa 2026-01-16 16:03:49 +01:00 committed by GitHub
parent 1070b55bb9
commit a464e29570
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 104 additions and 0 deletions

View file

@ -112,6 +112,7 @@ class FakeMatrixClient(
private val markRoomAsFullyReadResult: (RoomId, EventId) -> Result<Unit> = { _, _ -> lambdaError() },
private val performDatabaseVacuumLambda: () -> Result<Unit> = { lambdaError() },
private val getDatabaseSizesLambda: () -> Result<SdkStoreSizes> = { lambdaError() },
private val resetWellKnownConfigLambda: () -> Result<Unit> = { lambdaError() },
) : MatrixClient {
var setDisplayNameCalled: Boolean = false
private set
@ -379,4 +380,8 @@ class FakeMatrixClient(
override fun createLinkMobileHandler(): Result<LinkMobileHandler> {
return createLinkMobileHandlerResult()
}
override suspend fun resetWellKnownConfig(): Result<Unit> {
return resetWellKnownConfigLambda()
}
}