From c04ceb5cc2c875a91e2edeb43869913eaf345e3d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 28 Mar 2026 03:19:26 +0000 Subject: [PATCH] refactor: route discord preflight activity through channel runtime --- extensions/discord/src/monitor/message-handler.preflight.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/discord/src/monitor/message-handler.preflight.ts b/extensions/discord/src/monitor/message-handler.preflight.ts index 46c87291a21..8f70fa463af 100644 --- a/extensions/discord/src/monitor/message-handler.preflight.ts +++ b/extensions/discord/src/monitor/message-handler.preflight.ts @@ -7,6 +7,7 @@ import { matchesMentionWithExplicit, resolveMentionGatingWithBypass, } from "openclaw/plugin-sdk/channel-inbound"; +import { recordChannelActivity } from "openclaw/plugin-sdk/channel-runtime"; import { resolveControlCommandGate } from "openclaw/plugin-sdk/command-auth"; import { hasControlCommand } from "openclaw/plugin-sdk/command-auth"; import { shouldHandleTextCommands } from "openclaw/plugin-sdk/command-auth"; @@ -14,7 +15,6 @@ import { loadConfig } from "openclaw/plugin-sdk/config-runtime"; import { isDangerousNameMatchingEnabled } from "openclaw/plugin-sdk/config-runtime"; import type { SessionBindingRecord } from "openclaw/plugin-sdk/conversation-runtime"; import * as conversationRuntime from "openclaw/plugin-sdk/conversation-runtime"; -import { recordChannelActivity } from "openclaw/plugin-sdk/infra-runtime"; import { enqueueSystemEvent } from "openclaw/plugin-sdk/infra-runtime"; import { recordPendingHistoryEntryIfEnabled,