From 6ddef736ac6399a4e849daa618bc941591e859ea Mon Sep 17 00:00:00 2001 From: boris Date: Fri, 27 Dec 2024 14:52:05 +0200 Subject: [PATCH] fix: Merging issue (#3199) Co-authored-by: Yamil Medina --- .../wire/kalium/logic/feature/message/MessageScope.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/message/MessageScope.kt b/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/message/MessageScope.kt index 4a9a1b36d0..59566d1873 100644 --- a/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/message/MessageScope.kt +++ b/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/message/MessageScope.kt @@ -62,6 +62,7 @@ import com.wire.kalium.logic.feature.asset.UpdateAssetMessageTransferStatusUseCa import com.wire.kalium.logic.feature.asset.UpdateAssetMessageTransferStatusUseCaseImpl import com.wire.kalium.logic.feature.asset.ValidateAssetFileTypeUseCase import com.wire.kalium.logic.feature.asset.ValidateAssetFileTypeUseCaseImpl +import com.wire.kalium.logic.feature.incallreaction.SendInCallReactionUseCase import com.wire.kalium.logic.feature.message.composite.SendButtonActionConfirmationMessageUseCase import com.wire.kalium.logic.feature.message.composite.SendButtonActionMessageUseCase import com.wire.kalium.logic.feature.message.composite.SendButtonMessageUseCase @@ -454,6 +455,15 @@ class MessageScope internal constructor( val removeMessageDraftUseCase: RemoveMessageDraftUseCase get() = RemoveMessageDraftUseCaseImpl(messageDraftRepository) + val sendInCallReactionUseCase: SendInCallReactionUseCase + get() = SendInCallReactionUseCase( + selfUserId = selfUserId, + provideClientId = currentClientIdProvider, + messageSender = messageSender, + dispatchers = dispatcher, + scope = scope, + ) + val getSenderNameByMessageId: GetSenderNameByMessageIdUseCase get() = GetSenderNameByMessageIdUseCase(messageRepository)