From 05d1c5878a62bf529e9d304052be91c39136fb68 Mon Sep 17 00:00:00 2001 From: Avently <7953703+avently@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:40:14 +0700 Subject: [PATCH] shadow --- .../kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt index 17559a6861..e464f2cd9d 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt @@ -959,7 +959,7 @@ private fun ModerateReportItemAction( moderateMessageAlertDialog( reportedMessageId, questionText = moderateMessageQuestionText(chatInfo.featureEnabled(ChatFeature.FullDelete), 1), - deleteMessage = { _, m -> + deleteMessage = { reportedMessageId, m -> withApi { val moderated = deleteMessage(reportedMessageId, m) if (moderated != null) {