Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Fix iOS stickers by adding widgetData to callAction #450

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

TheTimeWalker
Copy link
Contributor

This fixes sending stickers on iOS by essentially reusing the data payload and adding it to widgetData.

Unfortunately it seems like Element iOS doesn't look in data but widgetData. Having both in the action payload allows compatibility with any client.

The solution is pretty similar to how maunium's stickerpicker works.

@turt2live turt2live self-requested a review December 13, 2021 22:36
@turt2live turt2live merged commit 08bd131 into turt2live:master Dec 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants