fix(onebot): resolve voice transcription for signed message IDs

Allow voice transcription results to complete for messages with negative IDs while preserving existing message identities and account isolation.

Report unmatched transcription results accurately and document the signed message ID contract.

Fixes #554
This commit is contained in:
DrSmoothl committed 2026-10-20 13:27:40 +08:00
1 parent 79522d949f
commit 76846f40b1
10 files changed
+153 -18

No files matched your search

@@ -205,7 +205,7 @@ function decodePttTransResult(ctx: MsgPushContext): QQEventVariant[] {
return [];
}
const msgId = Number(item.msgId ?? 0n);
const msgId = item.msgId ?? 0n;
const text = item.text ?? '';
if (!msgId || !text) {