[Fix] Discord thread replies show broken message references - #2017
Merged
mrubens merged 1 commit intoSep 6, 2026
Conversation
Contributor
mrubens
marked this pull request as ready for review
September 6, 2026 13:21
mrubens
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
September 6, 2026 13:21
mrubens
deleted the
fix/discord-thread-reply-references-2f6qwsy2lug5v
branch
September 6, 2026 13:21
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
message_referencepayloads to messages posted inside thread channels.Why this change was made
The Discord provider attached a reply reference whenever
replyToMessageIdwas present and set itschannel_idto the outbound destination. For thread posts, callers can pass parent-channel starter or anchor message IDs, so the resulting cross-channel reference points at a message that does not exist in the thread and Discord renders a broken “Message could not be loaded” artifact.Impact
Discord thread conversations no longer show broken or redundant inline reply cards. Ordinary channel and direct-message replies continue to reference their target message as before.