Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Correctly identify sticker picker widgets #1894

Merged
merged 1 commit into from
May 14, 2018

Conversation

turt2live
Copy link
Member

Widgets added to account data have the type of "m.widget", meaning we have to look at the content.type which will tell us what it is.

This also fixes a bug where all user widgets become sticker picker widgets under the right conditions.

Widgets added to account data have the `type` of "m.widget", meaning we have to look at the `content.type` which will tell us what it is. 

This also fixes a bug where all user widgets become sticker picker widgets under the right conditions.

Signed-off-by: Travis Ralston <travpc@gmail.com>
Copy link
Contributor

@rxl881 rxl881 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I think that this is an instance of what's deployed in practice catching up with the (evolving) spec. Thanks

@rxl881 rxl881 merged commit 8c3a63a into matrix-org:develop May 14, 2018
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