refactor: align channel chatType

This commit is contained in:
Peter Steinberger
2026-01-17 04:13:06 +00:00
parent 388b2bce01
commit 87cecd0268
7 changed files with 36 additions and 48 deletions

View File

@@ -186,7 +186,7 @@ export function createSlackMonitorContext(params: {
: isGroup
? `slack:group:${channelId}`
: `slack:channel:${channelId}`;
const chatType = isDirectMessage ? "direct" : isGroup ? "group" : "room";
const chatType = isDirectMessage ? "direct" : isGroup ? "group" : "channel";
return resolveSessionKey(
params.sessionScope,
{ From: from, ChatType: chatType, Provider: "slack" },