Merge pull request #4622 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.4.22
This commit is contained in:
commit
566457af2b
6 changed files with 6 additions and 5 deletions
|
|
@ -169,7 +169,7 @@ jsoup = "org.jsoup:jsoup:1.19.1"
|
|||
appyx_core = { module = "com.bumble.appyx:core", version.ref = "appyx" }
|
||||
molecule-runtime = "app.cash.molecule:molecule-runtime:2.1.0"
|
||||
timber = "com.jakewharton.timber:timber:5.0.1"
|
||||
matrix_sdk = "org.matrix.rustcomponents:sdk-android:25.4.11"
|
||||
matrix_sdk = "org.matrix.rustcomponents:sdk-android:25.4.22"
|
||||
matrix_richtexteditor = { module = "io.element.android:wysiwyg", 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" }
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ sealed interface NotificationContent {
|
|||
data object RoomServerAcl : StateEvent
|
||||
data object RoomThirdPartyInvite : StateEvent
|
||||
data object RoomTombstone : StateEvent
|
||||
data object RoomTopic : StateEvent
|
||||
data class RoomTopic(val topic: String) : StateEvent
|
||||
data object SpaceChild : StateEvent
|
||||
data object SpaceParent : StateEvent
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ private fun StateEventContent.toContent(): NotificationContent.StateEvent {
|
|||
StateEventContent.RoomServerAcl -> NotificationContent.StateEvent.RoomServerAcl
|
||||
StateEventContent.RoomThirdPartyInvite -> NotificationContent.StateEvent.RoomThirdPartyInvite
|
||||
StateEventContent.RoomTombstone -> NotificationContent.StateEvent.RoomTombstone
|
||||
StateEventContent.RoomTopic -> NotificationContent.StateEvent.RoomTopic
|
||||
is StateEventContent.RoomTopic -> NotificationContent.StateEvent.RoomTopic(topic)
|
||||
StateEventContent.SpaceChild -> NotificationContent.StateEvent.SpaceChild
|
||||
StateEventContent.SpaceParent -> NotificationContent.StateEvent.SpaceParent
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,5 +27,6 @@ fun aRustTimelineItemMessageContent(body: String = "Hello") = TimelineItemConten
|
|||
reactions = emptyList(),
|
||||
threadRoot = null,
|
||||
inReplyTo = null,
|
||||
threadSummary = null,
|
||||
),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ class DefaultNotifiableEventResolver @Inject constructor(
|
|||
NotificationContent.StateEvent.RoomServerAcl,
|
||||
NotificationContent.StateEvent.RoomThirdPartyInvite,
|
||||
NotificationContent.StateEvent.RoomTombstone,
|
||||
NotificationContent.StateEvent.RoomTopic,
|
||||
is NotificationContent.StateEvent.RoomTopic,
|
||||
NotificationContent.StateEvent.SpaceChild,
|
||||
NotificationContent.StateEvent.SpaceParent -> {
|
||||
Timber.tag(loggerTag.value).d("Ignoring notification for state event ${content.javaClass.simpleName}")
|
||||
|
|
|
|||
|
|
@ -783,7 +783,7 @@ class DefaultNotifiableEventResolverTest {
|
|||
testFailure(NotificationContent.StateEvent.RoomServerAcl)
|
||||
testFailure(NotificationContent.StateEvent.RoomThirdPartyInvite)
|
||||
testFailure(NotificationContent.StateEvent.RoomTombstone)
|
||||
testFailure(NotificationContent.StateEvent.RoomTopic)
|
||||
testFailure(NotificationContent.StateEvent.RoomTopic(""))
|
||||
testFailure(NotificationContent.StateEvent.SpaceChild)
|
||||
testFailure(NotificationContent.StateEvent.SpaceParent)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue