Browse Source

Fix compilation warning.

pull/2374/head
Benoit Marty 7 months ago
parent
commit
7831311d14
  1. 4
      libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RustMatrixRoom.kt

4
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RustMatrixRoom.kt

@ -120,9 +120,9 @@ class RustMatrixRoom( @@ -120,9 +120,9 @@ class RustMatrixRoom(
channel.trySend(initial)
}
innerRoom.subscribeToTypingNotifications(object : TypingNotificationsListener {
override fun call(typingUsers: List<String>) {
override fun call(typingUserIds: List<String>) {
channel.trySend(
typingUsers
typingUserIds
.filter { it != sessionData.userId }
.map(::UserId))
}

Loading…
Cancel
Save