Remove subjective comment

This commit is contained in:
Luke Barnard 2017-07-24 09:41:46 +01:00
parent e315b30f6a
commit 397201a74d

View File

@ -732,7 +732,6 @@ export default class MessageComposerInput extends React.Component {
}
// Strip MD user mentions to preserve plaintext mention behaviour
// (MD links are very verbose and ugly)
contentText = contentText.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
(markdownLink, text, resource, prefix) => {
return prefix === '@' ? text : markdownLink;