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

+2 -1
View File
@@ -615,9 +615,10 @@ describe('registerEventPipeline', () => {
const backfillGate = new Promise<void>((resolve) => {
releaseBackfill = resolve;
});
vi.mocked(backfillReplyTarget).mockImplementationOnce(async () => {
vi.mocked(backfillReplyTarget).mockImplementationOnce(async (_ref, event) => {
markBackfillStarted();
await backfillGate;
return event;
});
const isPrivateMessageRecalled = vi
.fn()