You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Pass room to stickerpack
This commit is contained in:
@@ -322,7 +322,7 @@ export default class MessageComposer extends React.Component {
|
||||
hangupButton,
|
||||
callButton,
|
||||
videoCallButton,
|
||||
<Stickerpack key='stickerpack_controls_button' />,
|
||||
<Stickerpack key='stickerpack_controls_button' room={this.props.room} />,
|
||||
);
|
||||
} else {
|
||||
controls.push(
|
||||
|
||||
@@ -46,11 +46,12 @@ export default class Stickerpack extends React.Component {
|
||||
};
|
||||
}
|
||||
|
||||
onComponentDidMount() {
|
||||
componentDidMount() {
|
||||
// Stickers
|
||||
// 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.
|
||||
const stickerpackWidget = Widgets.getStickerpackWidgets()[0];
|
||||
console.warn('Stickerpack widget', stickerpackWidget);
|
||||
let stickersContent;
|
||||
|
||||
// Load stickerpack content
|
||||
|
||||
Reference in New Issue
Block a user