Fix the hangup button and other custom actions

This commit is contained in:
Travis Ralston 2020-09-30 20:09:23 -06:00
parent 9b984a35e0
commit b46f58274e
5 changed files with 29 additions and 6 deletions

View file

@ -213,7 +213,6 @@ export default class Stickerpicker extends React.Component {
_sendVisibilityToWidget(visible) {
if (!this.state.stickerpickerWidget) return;
// TODO: [TravisR] Fix this
const messaging = WidgetMessagingStore.instance.getMessagingForId(this.state.stickerpickerWidget.id);
if (messaging && visible !== this._prevSentVisibility) {
messaging.updateVisibility(visible).catch(err => {