fix(onebot): disambiguate same-second private replies

Carry quoted text into receipt lookup and require a unique content match when several outgoing messages share a timestamp. Preserve sequence matches and log unresolved ambiguity.

Fixes #502
This commit is contained in:
DrSmoothl committed 2026-10-04 12:56:25 +08:00
1 parent 2c7d9b6387
commit b9bdcec5f1
7 files changed
+100 -12

No files matched your search

@@ -228,6 +228,7 @@ export const ELEMENT_CODECS = {
element.replyTime && element.replyTime > 0
? element.replyTime
: Number.MAX_SAFE_INTEGER,
element.replyElements,
);
return { type: 'reply', data: { id: String(id) } };
},