fix: avoid session metadata channel runtime fallback · openclaw/openclaw@bbed91b
shakkernerd
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import type { MsgContext } from "../../auto-reply/templating.js"; |
2 | 2 | import { normalizeChatType } from "../../channels/chat-type.js"; |
3 | 3 | import { resolveConversationLabel } from "../../channels/conversation-label.js"; |
4 | | -import { getChannelPlugin, normalizeChannelId } from "../../channels/plugins/index.js"; |
| 4 | +import { getLoadedChannelPlugin, normalizeChannelId } from "../../channels/plugins/index.js"; |
5 | 5 | import { |
6 | 6 | normalizeOptionalLowercaseString, |
7 | 7 | normalizeOptionalString, |
@@ -139,7 +139,7 @@ export function deriveGroupSessionPatch(params: {
|
139 | 139 | subjectLooksChannel && resolution.chatType !== "channel" ? normalizeChannelId(channel) : null; |
140 | 140 | const isChannelProvider = Boolean( |
141 | 141 | normalizedChannel && |
142 | | -getChannelPlugin(normalizedChannel)?.capabilities.chatTypes.includes("channel"), |
| 142 | +getLoadedChannelPlugin(normalizedChannel)?.capabilities.chatTypes.includes("channel"), |
143 | 143 | ); |
144 | 144 | const nextGroupChannel = |
145 | 145 | explicitChannel ?? |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。