Use m.room.sticker event.

This commit is contained in:
Richard Lewis 2018-01-08 12:06:32 +00:00
parent 486b2cf102
commit 5df9a01e64
2 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,9 @@ const FilePanel = React.createClass({
"room": {
"timeline": {
"contains_url": true,
"not_types": [
"m.room.sticker",
],
},
},
},

View File

@ -33,6 +33,7 @@ const ObjectUtils = require('../../../ObjectUtils');
const eventTileTypes = {
'm.room.message': 'messages.MessageEvent',
'm.room.sticker': 'messages.MessageEvent',
'm.call.invite': 'messages.TextualEvent',
'm.call.answer': 'messages.TextualEvent',
'm.call.hangup': 'messages.TextualEvent',