From e04a539b269aa950caaf1e452e36062e4a754a62 Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Mon, 18 May 2026 12:47:34 +0800 Subject: [PATCH] fix(logger): pass identity to the second printEvent call site The previous commit (257686e) widened printEvent's signature to take IdentityService but only updated the synchronous call at line 97. The async post-refresh dispatch path (line 127, called when a group member join arrives without a resolved uin) still used the old two-arg form, which CI caught as TS2554. Local tsc somehow didn't flag it on the editing machine. Both sites now pass this.deps.identity so the readable rendering applies to both prompt and post-refresh dispatch paths. --- packages/core/src/bridge/packet-pipeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/bridge/packet-pipeline.ts b/packages/core/src/bridge/packet-pipeline.ts index f6df7002..1697a15e 100644 --- a/packages/core/src/bridge/packet-pipeline.ts +++ b/packages/core/src/bridge/packet-pipeline.ts @@ -124,7 +124,7 @@ export class IncomingPacketPipeline { } this.handleSideEffects(event, refreshed); - printEvent(this.eventLog, event); + printEvent(this.eventLog, this.deps.identity, event); this.emit(event); }