Bump Rust SDK version and adapt our code (#3068)

* Use the new SDK version
* Adapt the authentication service to the new Rust SDK APIs
* Remove `Timeline.enterSpecialMode(...)` as it's no longer necessary
This commit is contained in:
Jorge Martin Espinosa 2024-06-27 11:44:14 +02:00 committed by GitHub
parent f163852c4b
commit cdbb46fa22
14 changed files with 85 additions and 179 deletions

View file

@ -104,12 +104,6 @@ class FakeTimeline(
mentions
)
var enterSpecialModeLambda: (eventId: EventId?) -> Result<Unit> = {
Result.success(Unit)
}
override suspend fun enterSpecialMode(eventId: EventId?): Result<Unit> = enterSpecialModeLambda(eventId)
var replyMessageLambda: (
eventId: EventId,
body: String,