Remove subjective comment
This commit is contained in:
@@ -732,7 +732,6 @@ export default class MessageComposerInput extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Strip MD user mentions to preserve plaintext mention behaviour
|
// Strip MD user mentions to preserve plaintext mention behaviour
|
||||||
// (MD links are very verbose and ugly)
|
|
||||||
contentText = contentText.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
|
contentText = contentText.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
|
||||||
(markdownLink, text, resource, prefix) => {
|
(markdownLink, text, resource, prefix) => {
|
||||||
return prefix === '@' ? text : markdownLink;
|
return prefix === '@' ? text : markdownLink;
|
||||||
|
|||||||
Reference in New Issue
Block a user