WhatsApp Channel support#223
Open
Hunv wants to merge 13 commits into
Open
Conversation
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.
Collaborator
|
As a general rule we don't merge vibe coded PRs when the person submitting it does not understand the code themselves. |
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.
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 ^^.