fix(onebot): resolve private reply targets consistently

Refs #618
This commit is contained in:
DrSmoothl committed 2026-11-02 08:47:26 +08:00
1 parent a1688a33b0
commit 4a10f38743
17 files changed
+1221 -608

No files matched your search

@@ -1,5 +1,6 @@
import type { MessageElement, QQEventVariant } from '@snowluma/protocol/events';
import type { JsonObject } from '../types';
import type { PrivateQuoteSource } from '../private-quote';
import { convertFriendMessage, convertGroupMessage, convertTempMessage } from './to-message';
import {
convertBotOffline,
@@ -40,6 +41,7 @@ export type MessageIdResolver = (
eventName: string,
timestamp?: number,
replyElements?: readonly MessageElement[],
excludedMessage?: PrivateQuoteSource,
) => number | Promise<number>;
export type MediaSegmentSink = (