#14471: fix(discord): respect replyToMode 'off' in thread/forum channels
stale
size: S
Cluster:
Signal and Discord Fixes
When `replyToMode` is `"off"`, replies in Discord thread channels (including forum posts) still get a `message_reference` attached, showing unwanted quote headers.
The issue is that `createReplyReferencePlanner` checks `existingId` before checking `replyToMode === "off"`. Thread channels always have an `existingId`, so the setting gets bypassed.
Moved the `"off"` guard above the `existingId` check so it actually works regardless of thread context. Added unit tests covering all reply modes.
Fixes #14450
Most Similar PRs
#22946: fix(discord): reject thread creation in thread/voice/stage channels
by iamhitarth · 2026-02-21
66.5%
#23513: fix(slack): respect replyToMode=off for inline directive reply tags
by dorukardahan · 2026-02-22
63.5%
#23320: fix(slack): respect replyToMode when incomingThreadTs is auto-created
by dorukardahan · 2026-02-22
62.3%
#21244: fix(discord): defer own-mode fetch until thread allow checks pass
by victorGPT · 2026-02-19
62.3%
#23799: fix(slack): finalize replyToMode off threading behavior
by vincentkoc · 2026-02-22
62.0%
#15969: fix: per-thread session isolation for Slack DMs when replyToMode is...
by neeravmakwana · 2026-02-14
60.7%
#19274: feat(mattermost): enable threaded replies in channels
by rockinyp · 2026-02-17
60.6%
#12758: fix(telegram): drop message_thread_id=1 for DM chats
by yukihamada · 2026-02-09
60.5%
#16570: feat(mattermost): add replyToMode threading support
by FBartos · 2026-02-14
59.8%
#17513: fix(discord): respect groupPolicy in channel config fallback (#4555)
by aronchick · 2026-02-15
59.7%