Pass widget data through from sticker picker

This allows for sticker pickers to have custom template variables.

Fixes https://github.com/vector-im/riot-web/issues/6716
pull/21833/head
Travis Ralston 2020-04-09 14:40:23 -06:00
parent 74291e8c2d
commit 3dc03ba089
1 changed files with 1 additions and 0 deletions

View File

@ -246,6 +246,7 @@ export default class Stickerpicker extends React.Component {
url: stickerpickerWidget.content.url,
name: stickerpickerWidget.content.name,
type: stickerpickerWidget.content.type,
data: stickerpickerWidget.content.data,
};
stickersContent = (