fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.4.30 (#4665)

* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.4.30

* OidcConfiguration do not take a contact parameter anymore.

* Fix API break.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
renovate[bot] 2025-05-02 12:33:19 +02:00 committed by GitHub
parent 0b83e66733
commit 8d1234281f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View file

@ -22,7 +22,6 @@ class OidcConfigurationProvider @Inject constructor(
logoUri = OidcConfig.LOGO_URI,
tosUri = OidcConfig.TOS_URI,
policyUri = OidcConfig.POLICY_URI,
contacts = null,
staticRegistrations = OidcConfig.STATIC_REGISTRATIONS,
)
}

View file

@ -73,6 +73,7 @@ import org.matrix.rustcomponents.sdk.MessageFormat
import org.matrix.rustcomponents.sdk.PollData
import org.matrix.rustcomponents.sdk.SendAttachmentJoinHandle
import org.matrix.rustcomponents.sdk.UploadParameters
import org.matrix.rustcomponents.sdk.UploadSource
import org.matrix.rustcomponents.sdk.use
import timber.log.Timber
import uniffi.matrix_sdk.RoomPaginationStatus
@ -361,7 +362,7 @@ class RustTimeline(
return sendAttachment(listOfNotNull(file, thumbnailFile)) {
inner.sendImage(
params = UploadParameters(
filename = file.path,
source = UploadSource.File(file.path),
caption = caption,
formattedCaption = formattedCaption?.let {
FormattedBody(body = it, format = MessageFormat.Html)
@ -390,7 +391,7 @@ class RustTimeline(
return sendAttachment(listOfNotNull(file, thumbnailFile)) {
inner.sendVideo(
params = UploadParameters(
filename = file.path,
source = UploadSource.File(file.path),
caption = caption,
formattedCaption = formattedCaption?.let {
FormattedBody(body = it, format = MessageFormat.Html)
@ -418,7 +419,7 @@ class RustTimeline(
return sendAttachment(listOf(file)) {
inner.sendAudio(
params = UploadParameters(
filename = file.path,
source = UploadSource.File(file.path),
caption = caption,
formattedCaption = formattedCaption?.let {
FormattedBody(body = it, format = MessageFormat.Html)
@ -445,7 +446,7 @@ class RustTimeline(
return sendAttachment(listOf(file)) {
inner.sendFile(
params = UploadParameters(
filename = file.path,
source = UploadSource.File(file.path),
caption = caption,
formattedCaption = formattedCaption?.let {
FormattedBody(body = it, format = MessageFormat.Html)
@ -506,7 +507,7 @@ class RustTimeline(
return sendAttachment(listOf(file)) {
inner.sendVoiceMessage(
params = UploadParameters(
filename = file.path,
source = UploadSource.File(file.path),
// Maybe allow a caption in the future?
caption = null,
formattedCaption = null,