Fix compilation warning.

This commit is contained in:
Benoit Marty 2024-02-09 10:12:50 +01:00
parent 9dfb6f2c65
commit 21d6ea1dbb

View file

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