From caaede429c63cd459e3bac1517938ea45ceaca61 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 14 Dec 2023 17:36:35 +0100 Subject: [PATCH] Fix compilation issue after merging develop --- .../libraries/matrix/impl/timeline/AsyncMatrixTimeline.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/AsyncMatrixTimeline.kt b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/AsyncMatrixTimeline.kt index fcc9a2a257..9be6d3e3bd 100644 --- a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/AsyncMatrixTimeline.kt +++ b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/AsyncMatrixTimeline.kt @@ -19,6 +19,7 @@ package io.element.android.libraries.matrix.impl.timeline import io.element.android.libraries.matrix.api.core.EventId import io.element.android.libraries.matrix.api.timeline.MatrixTimeline import io.element.android.libraries.matrix.api.timeline.MatrixTimelineItem +import io.element.android.libraries.matrix.api.timeline.ReceiptType import kotlinx.coroutines.CompletableDeferred import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.CoroutineScope @@ -89,8 +90,8 @@ class AsyncMatrixTimeline( return timeline.await().fetchDetailsForEvent(eventId) } - override suspend fun sendReadReceipt(eventId: EventId): Result { - return timeline.await().sendReadReceipt(eventId) + override suspend fun sendReadReceipt(eventId: EventId, receiptType: ReceiptType): Result { + return timeline.await().sendReadReceipt(eventId, receiptType) } override fun close() {