You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/docs
Vincent Koc 89a1e99815
fix(slack): finalize replyToMode off threading behavior (#23799)
* fix: make replyToMode 'off' actually prevent threading in Slack

Three independent bugs caused Slack replies to always create threads
even when replyToMode was set to 'off':

1. Typing indicator created threads via statusThreadTs fallback (#16868)
   - resolveSlackThreadTargets fell back to messageTs for statusThreadTs
   - 'is typing...' was posted as thread reply, creating a thread
   - Fix: remove messageTs fallback, let statusThreadTs be undefined

2. [[reply_to_current]] tags bypassed replyToMode entirely (#16080)
   - Slack dock had allowExplicitReplyTagsWhenOff: true
   - Reply tags from system prompt always threaded regardless of config
   - Fix: set allowExplicitReplyTagsWhenOff to false for Slack

3. Contradictory replyToMode defaults in codebase (#20827)
   - monitor/provider.ts defaulted to 'all'
   - accounts.ts defaulted to 'off' (matching docs)
   - Fix: align provider.ts default to 'off' per documentation

Fixes: openclaw/openclaw#16868, openclaw/openclaw#16080, openclaw/openclaw#20827

* fix(slack): respect replyToMode in DMs even with typing indicator thread

When replyToMode is 'off' in DMs, replies should stay in the main
conversation even when the typing indicator creates a thread context.

Previously, when incomingThreadTs was set (from the typing indicator's
thread), replyToMode was forced to 'all', causing all replies to go
into the thread.

Now, for direct messages, the user's configured replyToMode is always
respected. For channels/groups, the existing behavior is preserved
(stay in thread if already in one).

This fix:
- Keeps the typing indicator working (statusThreadTs fallback preserved)
- Prevents DM replies from being forced into threads
- Maintains channel thread continuity

Fixes #16868

* refactor(slack): eliminate redundant resolveSlackThreadContext call

- Add isThreadReply to resolveSlackThreadTargets return value
- Remove duplicate call in dispatch.ts
- Addresses greptile review feedback with cleaner DRY approach

* docs(slack): add JSDoc to resolveSlackThreadTargets

Document return values including isThreadReply distinction between
genuine user thread replies vs bot status message thread context.

* docs(changelog): record Slack replyToMode off threading fixes

---------

Co-authored-by: James <jamesrp13@gmail.com>
Co-authored-by: theoseo <suhong.seo@gmail.com>
9 months ago
..
.i18n fix(docs): revert accidental es/pt-BR translation scaffold from #18473 9 months ago
assets docs: add sponsors section to README 9 months ago
automation fix(heartbeat): run when HEARTBEAT.md is missing 9 months ago
channels fix(slack): finalize replyToMode off threading behavior (#23799) 9 months ago
cli feat(update): add core auto-updater and dry-run preview 9 months ago
concepts fix: document onboarding dmScope default as breaking change (#23468) (thanks @bmendonca3) 9 months ago
debug Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
diagnostics Docs: add nav titles across docs (#5689) 10 months ago
experiments docs: update pty supervision test command paths 9 months ago
gateway refactor(gateway): unify credential precedence across entrypoints 9 months ago
help Feat/logger support log level validation0222 (#23436) 9 months ago
images Docs: add screenshot showing model picker usability issue 9 months ago
install feat(update): add core auto-updater and dry-run preview 9 months ago
ja-JP docs: fix ja-JP dashboard URL link 10 months ago
nodes fix(security): block shell env allowlist bypass in system.run 9 months ago
platforms fix(security): block shell env allowlist bypass in system.run 9 months ago
plugins docs: add community plugins guide 9 months ago
providers docs: normalize Amazon Bedrock setup section labels (#22549) 9 months ago
refactor fix(config): accept $schema key in root config (#15280) 9 months ago
reference refactor: tighten onboarding dmScope typing and docs links 9 months ago
security Centralize date/time formatting utilities (#11831) 10 months ago
start refactor: tighten onboarding dmScope typing and docs links 9 months ago
tools docs: document verbose-gated tool error details 9 months ago
web fix(gateway): scope tailscale tokenless auth to websocket 9 months ago
zh-CN fix(subagents): return completion message for manual session spawns 9 months ago
CNAME refactor: rename to openclaw 10 months ago
brave-search.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
ci.md ci: move workflows to blacksmith 16vcpu runners 9 months ago
date-time.md Docs: add nav titles across docs (#5689) 10 months ago
docs.json docs: add community plugins guide 9 months ago
index.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
logging.md Feat/logger support log level validation0222 (#23436) 9 months ago
nav-tabs-underline.js docs(ui): add animated underline for nav tabs (#21912) 9 months ago
network.md docs: canonicalize docs paths and align zh navigation (#11428) 10 months ago
perplexity.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
pi-dev.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
pi.md fix: align pi-coding-agent typings and docs 10 months ago
prose.md docs: canonicalize docs paths and align zh navigation (#11428) 10 months ago
style.css fix(ios): force tls for non-loopback manual gateway hosts (#21969) 9 months ago
tts.md fix(tts): make model provider overrides opt-in 9 months ago
vps.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
whatsapp-openclaw-ai-zh.jpg Docs: add zh-CN landing notice + AI image 10 months ago
whatsapp-openclaw.jpg refactor: rename to openclaw 10 months ago