mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 19:15:47 +00:00
fix: avoid session metadata channel runtime fallback
This commit is contained in:
parent
49b106d357
commit
bbed91bf71
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import type { MsgContext } from "../../auto-reply/templating.js";
|
||||
import { normalizeChatType } from "../../channels/chat-type.js";
|
||||
import { resolveConversationLabel } from "../../channels/conversation-label.js";
|
||||
import { getChannelPlugin, normalizeChannelId } from "../../channels/plugins/index.js";
|
||||
import { getLoadedChannelPlugin, normalizeChannelId } from "../../channels/plugins/index.js";
|
||||
import {
|
||||
normalizeOptionalLowercaseString,
|
||||
normalizeOptionalString,
|
||||
|
|
@ -139,7 +139,7 @@ export function deriveGroupSessionPatch(params: {
|
|||
subjectLooksChannel && resolution.chatType !== "channel" ? normalizeChannelId(channel) : null;
|
||||
const isChannelProvider = Boolean(
|
||||
normalizedChannel &&
|
||||
getChannelPlugin(normalizedChannel)?.capabilities.chatTypes.includes("channel"),
|
||||
getLoadedChannelPlugin(normalizedChannel)?.capabilities.chatTypes.includes("channel"),
|
||||
);
|
||||
const nextGroupChannel =
|
||||
explicitChannel ??
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue