Don't treat sticker messages as info messages.

pull/21833/head
Richard Lewis 2018-01-17 16:52:10 +00:00
parent aa524c339d
commit b6f85fbf92
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ module.exports = withMatrixClient(React.createClass({
const eventType = this.props.mxEvent.getType();
// Info messages are basically information about commands processed on a room
const isInfoMessage = (eventType !== 'm.room.message');
const isInfoMessage = (eventType !== 'm.room.message' && eventType !== 'm.room.sticker');
const EventTileType = sdk.getComponent(getHandlerTile(this.props.mxEvent));
// This shouldn't happen: the caller should check we support this type