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
@@ -39,6 +39,7 @@ export type MessageIdResolver = (
|
||||
sequence: number,
|
||||
eventName: string,
|
||||
timestamp?: number,
|
||||
replyElements?: readonly MessageElement[],
|
||||
) => number;
|
||||
|
||||
export type MediaSegmentSink = (
|
||||
@@ -120,4 +121,3 @@ export async function convertEvent(
|
||||
return (converter as (ctx: ConverterContext, event: QQEventVariant) => JsonObject | Promise<JsonObject>)(ctx, event);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user