Try to centralise session restoration through MatrixClientsHolder
This commit is contained in:
parent
0632d01d86
commit
e2549a8308
5 changed files with 36 additions and 21 deletions
|
|
@ -35,6 +35,6 @@ fun Throwable.mapAuthenticationException(): Throwable {
|
|||
is RustAuthenticationException.OidcNotSupported -> AuthenticationException.OidcError("OidcNotSupported", message!!)
|
||||
*/
|
||||
|
||||
else -> this
|
||||
else -> AuthenticationException.Generic(this.message ?: "Unknown error")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue