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:
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) {
|
||||
|
||||
Reference in new issue
Block a user