check key

This commit is contained in:
Tarun Sukhani
2026-02-15 07:08:21 +08:00
parent a5e0487647
commit 624ba65554

View File

@@ -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 {};