diff --git a/CHANGELOG.md b/CHANGELOG.md index 05826d4b6..faef215fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ ### Fixes - Browser: add tests for snapshot labels/efficient query params and labeled image responses. - macOS: ensure launchd log directory exists with a test-only override. (#909) — thanks @roshanasingh4. +- macOS: format ConnectionsStore config to satisfy SwiftFormat lint. (#852) — thanks @mneves75. - Packaging: run `pnpm build` on `prepack` so npm publishes include fresh `dist/` output. - Telegram: register dock native commands with underscores to avoid `BOT_COMMAND_INVALID` (#929, fixes #901) — thanks @grp06. - Google: downgrade unsigned thinking blocks before send to avoid missing signature errors. diff --git a/apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift b/apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift index 2e8f12d42..73f0b6920 100644 --- a/apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift +++ b/apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift @@ -37,7 +37,8 @@ extension ConnectionsStore { private func resolveChannelConfig(_ snap: ConfigSnapshot, key: String) -> [String: AnyCodable]? { if let channels = snap.config?["channels"]?.dictionaryValue, - let entry = channels[key]?.dictionaryValue { + let entry = channels[key]?.dictionaryValue + { return entry } return snap.config?[key]?.dictionaryValue