You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
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