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)
}
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))
}