From 08f92e1d95b593627e5c1e7279ed10d263cecd0f Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Tue, 24 Mar 2026 13:44:43 +0100
Subject: [PATCH] fix: forward voiceMessageId in bundle MQTT publish for transcript reflection

---
 lib/services/mqtt_service.dart |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/services/mqtt_service.dart b/lib/services/mqtt_service.dart
index e93e52b..87eafc9 100644
--- a/lib/services/mqtt_service.dart
+++ b/lib/services/mqtt_service.dart
@@ -433,6 +433,7 @@
         'sessionId': sessionId,
         'caption': message['caption'] ?? '',
         if (message['audioBase64'] != null) 'audioBase64': message['audioBase64'],
+        if (message['voiceMessageId'] != null) 'voiceMessageId': message['voiceMessageId'],
         'attachments': message['attachments'] ?? [],
         'ts': _now(),
       }, MqttQos.atLeastOnce);

--
Gitblit v1.3.1