Update dependency org.matrix.rustcomponents:sdk-android to v0.1.62 (#1562)

* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.62
* Add `sendVoiceMessage()` API from https://github.com/matrix-org/matrix-rust-sdk/pull/2697
* Fix other breaking changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
This commit is contained in:
renovate[bot] 2023-10-13 08:19:30 +00:00 committed by GitHub
parent 1a8c29b979
commit 31d5e7395f
5 changed files with 32 additions and 7 deletions

View file

@ -361,6 +361,13 @@ class FakeMatrixRoom(
return endPollResult
}
override suspend fun sendVoiceMessage(
file: File,
audioInfo: AudioInfo,
waveform: List<Int>,
progressCallback: ProgressCallback?
): Result<MediaUploadHandler> = fakeSendMedia(progressCallback)
fun givenLeaveRoomError(throwable: Throwable?) {
this.leaveRoomError = throwable
}