Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@evalexpr
Copy link
Contributor

Summary

  • The channels.slack.requireMention setting was defined in the schema but never passed to resolveSlackChannelConfig(), which always defaulted to true
  • This meant setting requireMention: false at the top level had no effect—channels still required mentions
  • Pass slackCfg.requireMention as defaultRequireMention to the resolver and use it as the fallback

Test plan

  • Existing tests pass (pnpm vitest run src/slack/monitor)
  • Manual test: set channels.slack.requireMention: false and verify bot responds without @mention

🤖 Generated with Claude Code

evalexpr and others added 2 commits January 15, 2026 02:17
The `channels.slack.requireMention` setting was defined in the schema
but never passed to `resolveSlackChannelConfig()`, which always
defaulted to `true`. This meant setting `requireMention: false` at the
top level had no effect—channels still required mentions.

Pass `slackCfg.requireMention` as `defaultRequireMention` to the
resolver and use it as the fallback instead of hardcoded `true`.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@steipete steipete force-pushed the fix/slack-top-level-require-mention branch from a8f6f5a to 151a551 Compare January 15, 2026 02:21
@steipete steipete merged commit 3c51290 into openclaw:main Jan 15, 2026
21 checks passed
@steipete
Copy link
Contributor

Landed via temp rebase onto main.

Thanks @evalexpr!

steipete added a commit to mneves75/clawdbot that referenced this pull request Jan 15, 2026
steipete added a commit to mneves75/clawdbot that referenced this pull request Jan 15, 2026
@evalexpr evalexpr deleted the fix/slack-top-level-require-mention branch January 15, 2026 11:26
cpojer pushed a commit to cpojer/clawdbot that referenced this pull request Jan 16, 2026
cpojer pushed a commit to cpojer/clawdbot that referenced this pull request Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants