From 6f5ccd4c12c366d73c43193e27cef916e7dea3e0 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 30 Sep 2019 20:38:03 -0600 Subject: [PATCH] Minor comment updates --- src/components/views/messages/TextualBody.js | 2 +- src/components/views/rooms/MessageComposerInput.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index d3c53c8a33..5b5de531de 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -248,7 +248,7 @@ module.exports = createReactClass({ const url = node.getAttribute("href"); const host = url.match(/^https?:\/\/(.*?)(\/|$)/)[1]; - // never preview matrix.to links (if anything we should give a smart + // never preview permalinks (if anything we should give a smart // preview of the room/user they point to: nobody needs to be reminded // what the matrix.to site looks like). if (isPermalinkHost(host)) return false; diff --git a/src/components/views/rooms/MessageComposerInput.js b/src/components/views/rooms/MessageComposerInput.js index 6696a91483..3a51ac19e8 100644 --- a/src/components/views/rooms/MessageComposerInput.js +++ b/src/components/views/rooms/MessageComposerInput.js @@ -536,7 +536,7 @@ export default class MessageComposerInput extends React.Component { const textWithMdPills = this.plainWithMdPills.serialize(editorState); const markdown = new Markdown(textWithMdPills); - // HTML deserialize has custom rules to turn matrix.to links into pill objects. + // HTML deserialize has custom rules to turn permalinks into pill objects. return this.html.deserialize(markdown.toHTML()); }