Switch to 'm.sticker' message events. Allow whitelisting of wisget capabilities.
This commit is contained in:
parent
46f46ee294
commit
b2d23b6999
6 changed files with 41 additions and 13 deletions
|
@ -65,7 +65,7 @@ module.exports = React.createClass({
|
|||
let BodyType = UnknownBody;
|
||||
if (msgtype && bodyTypes[msgtype]) {
|
||||
BodyType = bodyTypes[msgtype];
|
||||
} else if (this.props.mxEvent.getType() === 'm.room.sticker') {
|
||||
} else if (this.props.mxEvent.getType() === 'm.sticker') {
|
||||
BodyType = sdk.getComponent('messages.MStickerBody');
|
||||
} else if (content.url) {
|
||||
// Fallback to MFileBody if there's a content URL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue