mirror of https://github.com/openclaw/openclaw.git
fix(mattermost): default unknown slash channel kind to channel
This commit is contained in:
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";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue