fix(mattermost): default unknown slash channel kind to channel

This commit is contained in:
Echo 2026-02-15 10:46:06 -05:00 committed by Muhammed Mukhthar CM
parent 66cfba8221
commit 994dcf7bdc
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ async function authorizeSlashInvocation(params: {
? channelType?.toUpperCase() === "G"
? "group"
: "channel"
: "direct";
: "channel";
const chatType = kind === "direct" ? "direct" : kind === "group" ? "group" : "channel";