[CHATWOOT] - Group messages: hide or replace the @lid code after the participant name
Maintainers usually reply within 5 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 77/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, typescript
Research direction
Start with apps/chatwoot/consumers/waha/base.js and trace how participant is passed into the whatsapp.group.message template; check how findPNByLid resolves a participant’s phone. Implement one of the listed formatting options while preserving the existing participant value for compatibility. Done when group messages can omit or replace an opaque @lid identifier and existing custom templates continue to work.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
In the Chatwoot App, incoming group messages show the author as Name (identifier). Since WhatsApp moved group participants to LIDs, that identifier is now an opaque code, e.g.:
👥 Ana (138478520127698@lid)
For agents in Chatwoot the code is noise: it says nothing and makes every group message harder to read. Before LIDs it was the phone number, which was at least useful.
The format is hardcoded in apps/chatwoot/consumers/waha/base.js:
participant = `${name} (${participant})`;
and the whatsapp.group.message template only receives the combined participant string, so custom templates cannot change it.
Describe the solution you'd like
Any of these would solve it (the first one is the most flexible):
- Pass the parts to the template as separate variables (e.g.
participantName,participantId, andparticipantPhonewhen the LID can be resolved withfindPNByLid), keepingparticipantas it is today for backwards compatibility. Then each user can choose the format with the existingtemplatesoption. - When the participant is a
@lidand the phone number is known, show the phone instead of the LID:Ana (+34 600 000 000). - An option to show only the name when it is available.
Describe alternatives you've considered
Patching the compiled file in our container, but it has to be reviewed on every WAHA update.
Additional context
WAHA 2026.9.2 (devlikeapro/waha:gows-arm), Chatwoot App with es-ES locale, Chatwoot 4.18.
- Dominant language
- TypeScript
- Stars
- 7.6k
- Forks
- 1.8k
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devlikeapro/waha
-
patron:PLUS
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
devlikeapro/waha#2167 · 1 comment ·
Maintainers usually reply within 5 days
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
devlikeapro/waha#2367 · 1 comment ·
Maintainers usually reply within 5 days
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
devlikeapro/waha#2366 ·
Maintainers usually reply within 5 days
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
devlikeapro/waha#2365 ·
Maintainers usually reply within 5 days
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
devlikeapro/waha#2364 · 1 reaction ·
Maintainers usually reply within 5 days
All issues in devlikeapro/waha
Similar issues
-
inference/go type/feature
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
anomalyco/opencode#65148 · 1 comment ·
Maintainers usually reply within 1 day
-
truapi-release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
paritytech/product-sdk#529 ·
Maintainers usually reply within 1 day
-
Add: Mansudae TVOpenapproved check:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bigbluebutton/bigbluebutton#26638 · 1 comment ·
Maintainers usually reply within 1 day