Skip to content

Fix sending pin messages by adding edit attribute#1106

Merged
tulir merged 1 commit into
tulir:mainfrom
kalix127:fix/pin-in-chat-edit-attribute
May 4, 2026
Merged

Fix sending pin messages by adding edit attribute#1106
tulir merged 1 commit into
tulir:mainfrom
kalix127:fix/pin-in-chat-edit-attribute

Conversation

@kalix127

Copy link
Copy Markdown
Contributor

Adds the missing PinInChatMessage case to getEditAttribute so that SendMessage sets the required edit="2" attribute when sending pin messages. Without this, WhatsApp silently ignores outgoing pin messages.

Fixes #1105

Related: mautrix/whatsapp#905

@tulir tulir merged commit 51dcc5e into tulir:main May 4, 2026
devlikepro pushed a commit to devlikeapro/whatsmeow that referenced this pull request May 7, 2026
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.

Sending pin messages does not work

2 participants