Update dependency org.matrix.rustcomponents:sdk-android to v26.05.20 (#6831)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.05.20 * Fix API breaks: - Handle new `ClientBuildException.InvalidRawKey` variant. - `RoomInfo` now has a `fullyReadEventId` . --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
parent
7d2ba03924
commit
550c0417dc
9 changed files with 15 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ fun Throwable.mapAuthenticationException(): AuthenticationException {
|
|||
}
|
||||
is ClientBuildException.WellKnownLookupFailed -> AuthenticationException.Generic(message)
|
||||
is ClientBuildException.EventCache -> AuthenticationException.Generic(message)
|
||||
is ClientBuildException.InvalidRawKey -> AuthenticationException.Generic(message)
|
||||
}
|
||||
is OAuthException -> when (this) {
|
||||
is OAuthException.Generic -> AuthenticationException.OAuth(message)
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class RoomInfoMapper {
|
|||
privilegedCreatorRole = it.privilegedCreatorsRole,
|
||||
isLowPriority = it.isLowPriority,
|
||||
activeCallIntentConsensus = it.activeRoomCallConsensusIntent.map(),
|
||||
fullyReadEventId = it.fullyReadEventId?.let(::EventId)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue