Repository navigation
fix(discord): record activity after successful poll and sticker sends - #126791
Merged
steipete merged 2 commits intoAug 20, 2026
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 20, 2026 18:44
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 21, 2026
…openclaw#126791) * fix(discord): record activity for structured outbound messages * chore(discord): shrink structured-send assertion baseline
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 Problem This Solves
Fixes an issue where users sending Discord polls or stickers would see stale outbound channel activity, even though Discord successfully delivered their messages. This made Discord account health and last-outbound status disagree with actual successful activity.
Why This Change Was Made
The Discord plugin already records successful text, media, component, webhook, and voice sends, but poll and sticker delivery duplicated their send-completion logic without reporting the same authoritative activity fact. Both structured-message senders now share one account-aware completion owner that records activity only after successful platform delivery.
User Impact
Discord poll and sticker sends now update the correct account's last-outbound activity, including explicit normalized account IDs and configured default accounts. Failed sends remain unrecorded, and existing dispatch hooks, nonce protection, receipt types, thread identity, and content behavior remain unchanged.
Evidence