Skip to content

feat(bridge): add support for stickers#110

Open
tobiaspal wants to merge 1 commit into
verygoodplugins:mainfrom
tobiaspal:bridge-sticker-support
Open

feat(bridge): add support for stickers#110
tobiaspal wants to merge 1 commit into
verygoodplugins:mainfrom
tobiaspal:bridge-sticker-support

Conversation

@tobiaspal
Copy link
Copy Markdown

Tested locally with both inbound and outbound stickers: rows appear in messages with media_type='sticker', .webp files land under the per-chat store directory, and the v0.2.1 REVOKE handler (#99) stamps deleted_at on the row when the sender deletes a stored sticker.

extractMediaInfo had no StickerMessage branch, so handleMessage
early-returned for empty content + empty media_type and stickers
were never persisted. downloadMedia also lacked a "sticker" case
in either switch (filename extension and waMediaType), so even
if the row had existed nothing would have downloaded.

Stickers now persist with media_type="sticker" and download as
.webp under the store directory. Both inbound and outbound flow
through the same path.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@tobiaspal tobiaspal requested a review from jack-arturo as a code owner May 23, 2026 12:05
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