From a60779a28cf70afcf26273865fb81c6daa4b4ca4 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 29 Apr 2024 17:47:35 +0200 Subject: [PATCH] Fix issue when retrieving Event detail. The wrong method was used. --- .../android/libraries/matrix/impl/timeline/RustTimeline.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 198f231ccb..3ec21e7560 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 @@ -517,7 +517,7 @@ class RustTimeline( private fun fetchDetailsForEvent(eventId: EventId): Result { return runCatching { - inner.getEventTimelineItemByEventId(eventId.value) + inner.fetchDetailsForEvent(eventId.value) } } }