Repository navigation
fix(channels): include linked field in WhatsApp describeAccount - #1050
Closed
YuriNachos wants to merge 4 commits into
Closed
YuriNachos wants to merge 4 commits into
YuriNachos wants to merge 4 commits into
Conversation
Contributor
|
This PR is quite dirty, you mixed in the previous changes. Findings
Questions / Assumptions
Change summary
|
Fixes openclaw#1030 The describeAccount function for WhatsApp was not returning the linked field, causing the Channels status section to show "Not linked" even when WhatsApp was properly linked and working. The fix adds the linked field to describeAccount, set to the same value as configured (Boolean(account.authDir)). This ensures that the Channels section and Health section show consistent status.
Co-authored-by: Yurii Chukhlib <[email protected]>
Co-authored-by: Yurii Chukhlib <[email protected]>
Co-authored-by: Yurii Chukhlib <[email protected]>
steipete
force-pushed
the
fix/issue-1030-whatsapp-linked-status
branch
from
January 16, 2026 23:58
5d24b48 to
6e2e5bd
Compare
steipete
added a commit
that referenced
this pull request
Jan 16, 2026
Co-authored-by: Yurii Chukhlib <[email protected]>
Contributor
|
Thanks @YuriNachos! I rebased this PR down to the WhatsApp fix plus follow-up fixes (session /new reset preserves overrides; image-gen handles base64 + URL responses) and added changelog entries. Landed on main via:
Closing this PR since it is now landed on main and the other commits were already merged elsewhere. Tests: pnpm lint ✅; pnpm build ❌ (missing @mozilla/readability + linkedom); pnpm test ❌ (gateway-cli coverage timeout; sandbox-explain timeout; web-tools.readability text/markdown). |
lovewanwan
pushed a commit
to lovewanwan/openclaw
that referenced
this pull request
Apr 28, 2026
Co-authored-by: Yurii Chukhlib <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
May 9, 2026
Co-authored-by: Yurii Chukhlib <[email protected]>
zeekay
pushed a commit
to Dream-AI-4444/clawdbot
that referenced
this pull request
Sep 11, 2026
Co-authored-by: Yurii Chukhlib <[email protected]>
lhfer
pushed a commit
to lhfer/openclaw
that referenced
this pull request
Oct 11, 2026
Co-authored-by: Yurii Chukhlib <[email protected]>
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.
Summary
Fixes #1030
clawdbot statusshows inconsistent information about WhatsApp connection state. The Channels section shows "Not linked" while the Health section correctly shows "LINKED".Root Cause
The
describeAccountfunction insrc/channels/plugins/whatsapp.tswas not returning thelinkedfield. The Channels status display relies on this field to show the correct link status.Fix
Added the
linkedfield todescribeAccount, set toBoolean(account.authDir)(same as theconfiguredfield). This ensures that:Testing
clawdbot status- Channels section now shows "linked" when WhatsApp is connectedclawdbot status --deep- Health section still shows correct "LINKED" statusFiles Changed
src/channels/plugins/whatsapp.ts: Addedlinked: Boolean(account.authDir)todescribeAccountreturn valueChecklist
🤖 AI-assisted PR