[CHATWOOT] - Group messages: hide or replace the @lid code after the participant name
メンテナーはふだん 5 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 77/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, typescript
調査の方向性
apps/chatwoot/consumers/waha/base.jsから始めて、participantがwhatsapp.group.messageテンプレートに渡される方法を追い、findPNByLidが参加者の電話番号をどのように解決するかを確認してください。既存のparticipantの値を互換性のために維持しながら、列挙された書式設定オプションのいずれかを実装してください。グループメッセージで不透明な@lid識別子を省略または置換でき、既存のカスタムテンプレートも引き続き動作すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 7.6k
- フォーク
- 1.8k
- 平均マージ
- 4日 20時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
devlikeapro/waha のほかの issue
-
patron:PLUS
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
devlikeapro/waha#2167 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
devlikeapro/waha#2367 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
devlikeapro/waha#2366 ·
メンテナーはふだん 5 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
devlikeapro/waha#2365 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
devlikeapro/waha#2364 · リアクション 1 件 ·
メンテナーはふだん 5 日以内に返信
devlikeapro/waha の issue をすべて見る
似ている issue
-
inference/go type/feature
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#65148 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
truapi-release
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
paritytech/product-sdk#529 ·
メンテナーはふだん 1 日以内に返信
-
Add: Mansudae TVオープンapproved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bigbluebutton/bigbluebutton#26638 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信