fix: disallow image

This commit is contained in:
cha0s 2020-07-25 20:04:36 -05:00
parent 536e9dae2e
commit 5486103d78

View File

@ -60,7 +60,7 @@ export default function ChatMessage(props) {
}
<div className="chat--messageText">
<div className="chat--messageMarkdown">
<ReactMarkdown source={message} />
<ReactMarkdown disallowedTypes={['image']} source={message} />
</div>
{isShort && $messageTime}
</div>