mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-16 10:07:05 +00:00
fix(mattermost): default unknown slash channel kind to channel
This commit is contained in:
committed by
Muhammed Mukhthar CM
parent
66cfba8221
commit
994dcf7bdc
@@ -152,7 +152,7 @@ async function authorizeSlashInvocation(params: {
|
||||
? channelType?.toUpperCase() === "G"
|
||||
? "group"
|
||||
: "channel"
|
||||
: "direct";
|
||||
: "channel";
|
||||
|
||||
const chatType = kind === "direct" ? "direct" : kind === "group" ? "group" : "channel";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user