Revert "Handle non-m.room.message event types."
This reverts commit f8d7ab10fa
.
This commit is contained in:
parent
fb9b376cb8
commit
008572afe1
2 changed files with 2 additions and 8 deletions
|
@ -471,8 +471,7 @@ module.exports = withMatrixClient(React.createClass({
|
|||
const eventType = this.props.mxEvent.getType();
|
||||
|
||||
// Info messages are basically information about commands processed on a room
|
||||
// For now assume that anything that doesn't have a content body is an isInfoMessage
|
||||
const isInfoMessage = !content.body; // Boolean comparison of non-boolean content body
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue