From 38ed01bebdc9334e43e55bc8f9641620efa7c92b Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Tue, 16 Jan 2018 21:35:25 +0000 Subject: [PATCH] Pass room to stickerpack --- src/components/views/rooms/MessageComposer.js | 2 +- src/components/views/rooms/Stickerpack.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js index 7e001165c0..9dbfb994c7 100644 --- a/src/components/views/rooms/MessageComposer.js +++ b/src/components/views/rooms/MessageComposer.js @@ -322,7 +322,7 @@ export default class MessageComposer extends React.Component { hangupButton, callButton, videoCallButton, - , + , ); } else { controls.push( diff --git a/src/components/views/rooms/Stickerpack.js b/src/components/views/rooms/Stickerpack.js index 18ace9300c..0553fbbdc6 100644 --- a/src/components/views/rooms/Stickerpack.js +++ b/src/components/views/rooms/Stickerpack.js @@ -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