mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
check key
This commit is contained in:
@@ -59,6 +59,9 @@ export function deriveQmdScopeChatType(key?: string): "channel" | "group" | "dir
|
||||
}
|
||||
|
||||
function parseQmdSessionScope(key?: string): ParsedQmdSessionScope {
|
||||
if (!key) {
|
||||
return {};
|
||||
}
|
||||
const normalized = normalizeQmdSessionKey(key);
|
||||
if (!normalized) {
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user