mirror of https://github.com/vector-im/riot-web
Pass room to stickerpack
parent
7676fc0c10
commit
38ed01bebd
|
@ -322,7 +322,7 @@ export default class MessageComposer extends React.Component {
|
||||||
hangupButton,
|
hangupButton,
|
||||||
callButton,
|
callButton,
|
||||||
videoCallButton,
|
videoCallButton,
|
||||||
<Stickerpack key='stickerpack_controls_button' />,
|
<Stickerpack key='stickerpack_controls_button' room={this.props.room} />,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
controls.push(
|
controls.push(
|
||||||
|
|
|
@ -46,11 +46,12 @@ export default class Stickerpack extends React.Component {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
onComponentDidMount() {
|
componentDidMount() {
|
||||||
// Stickers
|
// Stickers
|
||||||
// TODO - Add support for stickerpacks from multiple app stores.
|
// TODO - Add support for stickerpacks from multiple app stores.
|
||||||
// Render content from multiple stickerpack sources, each within their own iframe, within the stickerpack UI element.
|
// Render content from multiple stickerpack sources, each within their own iframe, within the stickerpack UI element.
|
||||||
const stickerpackWidget = Widgets.getStickerpackWidgets()[0];
|
const stickerpackWidget = Widgets.getStickerpackWidgets()[0];
|
||||||
|
console.warn('Stickerpack widget', stickerpackWidget);
|
||||||
let stickersContent;
|
let stickersContent;
|
||||||
|
|
||||||
// Load stickerpack content
|
// Load stickerpack content
|
||||||
|
|
Loading…
Reference in New Issue