-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WhatsApp, Telegram] Channel Label #725
Comments
The |
I don't think so. Group names are not unique in WhatsApp so we need unique channel ID. |
@KrzysztofMadejski can you take a look at #793 |
Can be fixed using tengo Save below as
Add and add the following in matterbridge.toml
|
What is that tengo thing? Could there be a some sort of step-by-step instruction on how to extract the channel number? |
Is your feature request related to a problem? Please describe.
Example image of the message relayed from WhatsApp to Slack:
Channel in case of WhatsApp and Telegram is a complex unique ID string, which doesn't look great when visualized.
I'm using a
RemoteNickFormat="[{LABEL} #{CHANNEL}] @{NICK}"
which results in[CfP #48111222333-1549986983@g.us] @Virus APP [10:45 AM]
being shown as sender.Problem is that
Describe the solution you'd like
What I'd love to have is an ability to set a channel label that would be used by
{CHANNEL}
instead of channel id when set.Example config:
That would result in above
RemoteNickFormat
to be formatted as[CfP #Code for Pakistan] @Virus APP [10:45 AM]
.Describe alternatives you've considered
Not using
{CHANNEL}
in aRemoteNickFormat
.Additional context
The idea was born while implementing WhatsApp, see #711.
The text was updated successfully, but these errors were encountered: