Merge pull request #162 from matrix-org/rav/keep_redactions
Handle redacted events
This commit is contained in:
commit
e9726865fc
2 changed files with 31 additions and 8 deletions
|
@ -65,6 +65,7 @@ module.exports = React.createClass({
|
|||
|
||||
statics: {
|
||||
haveTileForEvent: function(e) {
|
||||
if (e.isRedacted()) return false;
|
||||
if (eventTileTypes[e.getType()] == undefined) return false;
|
||||
if (eventTileTypes[e.getType()] == 'messages.TextualEvent') {
|
||||
return TextForEvent.textForEvent(e) !== '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue