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