Skip to content

Fix sending pin messages by adding edit attribute#1106

Open
kalix127 wants to merge 1 commit intotulir:mainfrom
kalix127:fix/pin-in-chat-edit-attribute
Open

Fix sending pin messages by adding edit attribute#1106
kalix127 wants to merge 1 commit intotulir:mainfrom
kalix127:fix/pin-in-chat-edit-attribute

Conversation

@kalix127
Copy link
Copy Markdown

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

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

1 participant