Update dependency org.matrix.rustcomponents:sdk-android to v26.2.6 (#6144)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.2.5 * Fix breaking API changes: - Add temporary imlementation for `RustClientSessionDelegate.onBackgroundTaskErrorReport`, logging unrecoverable errors in background tasks of the SDK. - Change `TimelineEventTypeFilter` to `TimelineEventFilter`. - Support new `LatestEventValue.RemoteInvite`. * Update the Rust SDK to `26.2.6` * Fix API changes: `TimelineFocus.PinnedEvents` no longer takes any arguments * Fix test fixtures: `NotificationItem` has a `rawEvent` field now --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
parent
bd30af395e
commit
4cb3b16914
16 changed files with 52 additions and 33 deletions
|
|
@ -28,4 +28,10 @@ sealed interface LatestEventValue {
|
|||
val senderProfile: ProfileDetails,
|
||||
val isSending: Boolean,
|
||||
) : LatestEventValue
|
||||
|
||||
data class RoomInvite(
|
||||
val timestamp: Long,
|
||||
val inviterId: UserId?,
|
||||
val invitedProfile: ProfileDetails,
|
||||
) : LatestEventValue
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ data class RoomSummary(
|
|||
is LatestEventValue.None -> null
|
||||
is LatestEventValue.Local -> latestEvent.timestamp
|
||||
is LatestEventValue.Remote -> latestEvent.timestamp
|
||||
is LatestEventValue.RoomInvite -> latestEvent.timestamp
|
||||
}
|
||||
val isOneToOne get() = info.activeMembersCount == 2L
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue