Files
openclaw/src
danielz1z f42b12646d fix: handle object-format capabilities in normalizeCapabilities
When capabilities is configured as an object (e.g., { inlineButtons: "dm" })
instead of a string array, normalizeCapabilities() would crash with
"capabilities.map is not a function".

This can occur when using the new Telegram inline buttons scoping feature:
  channels.telegram.capabilities.inlineButtons = "dm"

The fix adds an Array.isArray() guard to return undefined for non-array
capabilities, allowing channel-specific handlers (like
resolveTelegramInlineButtonsScope) to process the object format separately.

Fixes crash when using object-format TelegramCapabilitiesConfig.
2026-01-17 05:11:57 +00:00
..
2026-01-17 04:57:11 +00:00
2026-01-17 05:06:39 +00:00
2026-01-17 05:06:39 +00:00
…
2026-01-17 01:55:42 +00:00
2026-01-17 05:06:39 +00:00
2026-01-17 04:41:02 +00:00
2026-01-17 04:13:06 +00:00
2026-01-17 05:06:39 +00:00
2026-01-17 05:06:39 +00:00
2026-01-17 05:06:39 +00:00
2026-01-17 04:57:11 +00:00
2026-01-17 05:06:39 +00:00
2026-01-17 01:31:57 +00:00
…
…
…
…
…