From 90e51dc9fa4142bbf7c082f6be759edae359faf7 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 11 Sep 2024 20:41:58 +0200 Subject: [PATCH] Fix detekt false positive. --- .../android/libraries/matrix/impl/timeline/RustTimeline.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/RustTimeline.kt b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/RustTimeline.kt index 5cb2c36399..25d7c52c7b 100644 --- a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/RustTimeline.kt +++ b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/RustTimeline.kt @@ -457,8 +457,7 @@ class RustTimeline( item = it, ) } - Unit - } + }.map { } } override suspend fun sendPollResponse(