Add listener to close stickerpicker.

This commit is contained in:
Richard Lewis 2018-02-26 13:43:16 +00:00
parent 73c8ef50d1
commit b64736aa44
3 changed files with 5 additions and 1 deletions

View file

@ -104,6 +104,8 @@ export default class Stickerpicker extends React.Component {
if (payload.action === "user_widget_updated") {
this._getStickerPickerWidget();
return;
} else if (payload.action === "stickerpicker_close") {
this.stickersMenu.close();
}
}