PR review

Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
ganfra
2023-09-12 09:46:12 +02:00
committed by GitHub
parent 4196b973f4
commit 8da433884e

View File

@@ -42,7 +42,7 @@ import org.matrix.rustcomponents.sdk.OtherState as RustOtherState
class TimelineEventContentMapper(private val eventMessageMapper: EventMessageMapper = EventMessageMapper()) {
fun map(content: TimelineItemContent): EventContent {
return content.use { _ ->
return content.use {
content.kind().use { kind ->
map(content, kind)
}