Try to centralise session restoration through MatrixClientsHolder

This commit is contained in:
Jorge Martín 2023-07-17 15:05:13 +02:00
parent 0632d01d86
commit e2549a8308
5 changed files with 36 additions and 21 deletions

View file

@ -35,6 +35,6 @@ fun Throwable.mapAuthenticationException(): Throwable {
is RustAuthenticationException.OidcNotSupported -> AuthenticationException.OidcError("OidcNotSupported", message!!)
*/
else -> this
else -> AuthenticationException.Generic(this.message ?: "Unknown error")
}
}