Fix compilation warning.

This commit is contained in:
Benoit Marty 2024-02-09 10:12:50 +01:00
parent b3715ca9c4
commit 7831311d14

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