You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update dependency org.matrix.rustcomponents:sdk-android to v25.9.25 (#5412)
* Update dependency org.matrix.rustcomponents:sdk-android to v25.9.25
* Adapt to SDK changes:
`MessageLikeEventType` is now a sealed interface and has a new `data class Other(val v1: String)` case.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <[email protected]>
Copy file name to clipboardExpand all lines: features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelinePresenter.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -117,8 +117,8 @@ class TimelinePresenter(
117
117
118
118
val syncUpdateFlow = room.syncUpdateFlow.collectAsState()
119
119
120
-
val userHasPermissionToSendMessage by room.canSendMessageAsState(type =MessageEventType.ROOM_MESSAGE, updateKey = syncUpdateFlow.value)
121
-
val userHasPermissionToSendReaction by room.canSendMessageAsState(type =MessageEventType.REACTION, updateKey = syncUpdateFlow.value)
120
+
val userHasPermissionToSendMessage by room.canSendMessageAsState(type =MessageEventType.RoomMessage, updateKey = syncUpdateFlow.value)
121
+
val userHasPermissionToSendReaction by room.canSendMessageAsState(type =MessageEventType.Reaction, updateKey = syncUpdateFlow.value)
122
122
123
123
val prevMostRecentItemId = rememberSaveable { mutableStateOf<UniqueId?>(null) }
Copy file name to clipboardExpand all lines: libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/item/event/TimelineEventContentMapper.kt
0 commit comments