refactor: align channel chatType
This commit is contained in:
1 parent
388b2bce01
commit
87cecd0268
7 files changed
+36
-48
No files matched your search
@@ -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" },
|
||||
|
||||
Reference in new issue
Block a user