Merge pull request #5679 from SimonBrandner/quit-sticker-picker
This commit is contained in:
commit
83a4a20cfb
1 changed files with 1 additions and 0 deletions
|
@ -238,6 +238,7 @@ export default class AppTile extends React.Component {
|
|||
case 'm.sticker':
|
||||
if (this._sgWidget.widgetApi.hasCapability(MatrixCapabilities.StickerSending)) {
|
||||
dis.dispatch({ action: 'post_sticker_message', data: payload.data });
|
||||
dis.dispatch({ action: 'stickerpicker_close' });
|
||||
} else {
|
||||
console.warn('Ignoring sticker message. Invalid capability');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue