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:
parent
c2568f84d2
commit
02593f13e3
3 changed files with 7 additions and 7 deletions
|
|
@ -169,7 +169,7 @@ jsoup = "org.jsoup:jsoup:1.20.1"
|
||||||
appyx_core = { module = "com.bumble.appyx:core", version.ref = "appyx" }
|
appyx_core = { module = "com.bumble.appyx:core", version.ref = "appyx" }
|
||||||
molecule-runtime = "app.cash.molecule:molecule-runtime:2.1.0"
|
molecule-runtime = "app.cash.molecule:molecule-runtime:2.1.0"
|
||||||
timber = "com.jakewharton.timber:timber:5.0.1"
|
timber = "com.jakewharton.timber:timber:5.0.1"
|
||||||
matrix_sdk = "org.matrix.rustcomponents:sdk-android:25.4.22"
|
matrix_sdk = "org.matrix.rustcomponents:sdk-android:25.4.30"
|
||||||
matrix_richtexteditor = { module = "io.element.android:wysiwyg", version.ref = "wysiwyg" }
|
matrix_richtexteditor = { module = "io.element.android:wysiwyg", version.ref = "wysiwyg" }
|
||||||
matrix_richtexteditor_compose = { module = "io.element.android:wysiwyg-compose", version.ref = "wysiwyg" }
|
matrix_richtexteditor_compose = { module = "io.element.android:wysiwyg-compose", version.ref = "wysiwyg" }
|
||||||
sqldelight-driver-android = { module = "app.cash.sqldelight:android-driver", version.ref = "sqldelight" }
|
sqldelight-driver-android = { module = "app.cash.sqldelight:android-driver", version.ref = "sqldelight" }
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@ class OidcConfigurationProvider @Inject constructor(
|
||||||
logoUri = OidcConfig.LOGO_URI,
|
logoUri = OidcConfig.LOGO_URI,
|
||||||
tosUri = OidcConfig.TOS_URI,
|
tosUri = OidcConfig.TOS_URI,
|
||||||
policyUri = OidcConfig.POLICY_URI,
|
policyUri = OidcConfig.POLICY_URI,
|
||||||
contacts = null,
|
|
||||||
staticRegistrations = OidcConfig.STATIC_REGISTRATIONS,
|
staticRegistrations = OidcConfig.STATIC_REGISTRATIONS,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ import org.matrix.rustcomponents.sdk.MessageFormat
|
||||||
import org.matrix.rustcomponents.sdk.PollData
|
import org.matrix.rustcomponents.sdk.PollData
|
||||||
import org.matrix.rustcomponents.sdk.SendAttachmentJoinHandle
|
import org.matrix.rustcomponents.sdk.SendAttachmentJoinHandle
|
||||||
import org.matrix.rustcomponents.sdk.UploadParameters
|
import org.matrix.rustcomponents.sdk.UploadParameters
|
||||||
|
import org.matrix.rustcomponents.sdk.UploadSource
|
||||||
import org.matrix.rustcomponents.sdk.use
|
import org.matrix.rustcomponents.sdk.use
|
||||||
import timber.log.Timber
|
import timber.log.Timber
|
||||||
import uniffi.matrix_sdk.RoomPaginationStatus
|
import uniffi.matrix_sdk.RoomPaginationStatus
|
||||||
|
|
@ -361,7 +362,7 @@ class RustTimeline(
|
||||||
return sendAttachment(listOfNotNull(file, thumbnailFile)) {
|
return sendAttachment(listOfNotNull(file, thumbnailFile)) {
|
||||||
inner.sendImage(
|
inner.sendImage(
|
||||||
params = UploadParameters(
|
params = UploadParameters(
|
||||||
filename = file.path,
|
source = UploadSource.File(file.path),
|
||||||
caption = caption,
|
caption = caption,
|
||||||
formattedCaption = formattedCaption?.let {
|
formattedCaption = formattedCaption?.let {
|
||||||
FormattedBody(body = it, format = MessageFormat.Html)
|
FormattedBody(body = it, format = MessageFormat.Html)
|
||||||
|
|
@ -390,7 +391,7 @@ class RustTimeline(
|
||||||
return sendAttachment(listOfNotNull(file, thumbnailFile)) {
|
return sendAttachment(listOfNotNull(file, thumbnailFile)) {
|
||||||
inner.sendVideo(
|
inner.sendVideo(
|
||||||
params = UploadParameters(
|
params = UploadParameters(
|
||||||
filename = file.path,
|
source = UploadSource.File(file.path),
|
||||||
caption = caption,
|
caption = caption,
|
||||||
formattedCaption = formattedCaption?.let {
|
formattedCaption = formattedCaption?.let {
|
||||||
FormattedBody(body = it, format = MessageFormat.Html)
|
FormattedBody(body = it, format = MessageFormat.Html)
|
||||||
|
|
@ -418,7 +419,7 @@ class RustTimeline(
|
||||||
return sendAttachment(listOf(file)) {
|
return sendAttachment(listOf(file)) {
|
||||||
inner.sendAudio(
|
inner.sendAudio(
|
||||||
params = UploadParameters(
|
params = UploadParameters(
|
||||||
filename = file.path,
|
source = UploadSource.File(file.path),
|
||||||
caption = caption,
|
caption = caption,
|
||||||
formattedCaption = formattedCaption?.let {
|
formattedCaption = formattedCaption?.let {
|
||||||
FormattedBody(body = it, format = MessageFormat.Html)
|
FormattedBody(body = it, format = MessageFormat.Html)
|
||||||
|
|
@ -445,7 +446,7 @@ class RustTimeline(
|
||||||
return sendAttachment(listOf(file)) {
|
return sendAttachment(listOf(file)) {
|
||||||
inner.sendFile(
|
inner.sendFile(
|
||||||
params = UploadParameters(
|
params = UploadParameters(
|
||||||
filename = file.path,
|
source = UploadSource.File(file.path),
|
||||||
caption = caption,
|
caption = caption,
|
||||||
formattedCaption = formattedCaption?.let {
|
formattedCaption = formattedCaption?.let {
|
||||||
FormattedBody(body = it, format = MessageFormat.Html)
|
FormattedBody(body = it, format = MessageFormat.Html)
|
||||||
|
|
@ -506,7 +507,7 @@ class RustTimeline(
|
||||||
return sendAttachment(listOf(file)) {
|
return sendAttachment(listOf(file)) {
|
||||||
inner.sendVoiceMessage(
|
inner.sendVoiceMessage(
|
||||||
params = UploadParameters(
|
params = UploadParameters(
|
||||||
filename = file.path,
|
source = UploadSource.File(file.path),
|
||||||
// Maybe allow a caption in the future?
|
// Maybe allow a caption in the future?
|
||||||
caption = null,
|
caption = null,
|
||||||
formattedCaption = null,
|
formattedCaption = null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue