Skip to content

WhatsApp Channel support#223

Open
Hunv wants to merge 13 commits into
matterbridge-org:masterfrom
Hunv:master
Open

WhatsApp Channel support#223
Hunv wants to merge 13 commits into
matterbridge-org:masterfrom
Hunv:master

Conversation

@Hunv

@Hunv Hunv commented Jun 9, 2026

Copy link
Copy Markdown

This Pull request enables matterbridge to support WhatsApp Channels - what you find in the "Updates" tab in WhatsApp. Channels are basically one-way-communication groups where members are not visible by names.
This Pull request enables to read WhatsApp Channels and can also send messages to a Channel, if you are the admin or owner.
I also added some helpful logs to make it easier to identify the IDs of Chats, Groups and Channels.

Credits are also going to OpenCode/Big Pickle, as I have no cloud of go ^^.

Kristian Reukauff added 11 commits June 8, 2026 17:48
- Wrap newsletter slice reads in JoinChannel() with RLock
- Wrap listNewsletterJIDs() with RLock
- Handle nil Participant in handleDelete() for newsletter deletes
- Add ProtocolMessage_REVOKE dispatch for newsletter messages
- Add nil-safe access for ThreadMeta/Name in handleNewsletterJoin
NewsletterThreadMetadata and NewsletterText are value structs, not pointers.
Compare Name.Text against empty string instead of checking nil on non-pointer types.
Sets the Text field on the config.Message for image, video, audio, and
document messages in both regular and newsletter handlers, so the
caption text is available as the message body instead of only being
stored in the file metadata.
@poVoq

poVoq commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

As a general rule we don't merge vibe coded PRs when the person submitting it does not understand the code themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants