mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
fix: don't lowercase Slack channel IDs (#14055)
This commit is contained in:
@@ -11,8 +11,7 @@ export function normalizeTargetForProvider(provider: string, raw?: string): stri
|
||||
}
|
||||
const providerId = normalizeChannelId(provider);
|
||||
const plugin = providerId ? getChannelPlugin(providerId) : undefined;
|
||||
const normalized =
|
||||
plugin?.messaging?.normalizeTarget?.(raw) ?? (raw.trim().toLowerCase() || undefined);
|
||||
const normalized = plugin?.messaging?.normalizeTarget?.(raw) ?? (raw.trim() || undefined);
|
||||
return normalized || undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user