Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (att.mime == 'application/json') {
// Don't show json objects as attachments.
// They are not meant for users.
return;
}
attachments.push();
}, this);
content = React.createElement('span', null, Drafty.format(content, draftyFormatter, this));
} else if (typeof content != 'string') {
content = <><i>error_outline</i> <i>
</i>
}
return (
<li>
{this.props.userFrom && this.props.response ?
<div>
{fullDisplay ?
:</div></li>