diff --git a/src/components/views/elements/Pill.js b/src/components/views/elements/Pill.js index c4bf9de120..fdd657470e 100644 --- a/src/components/views/elements/Pill.js +++ b/src/components/views/elements/Pill.js @@ -173,11 +173,11 @@ const Pill = React.createClass({ if (this.state.pillType) { return this.props.inMessage ? - + {avatar} {linkText} : - + {avatar} {linkText} ; diff --git a/src/components/views/rooms/MessageComposerInput.js b/src/components/views/rooms/MessageComposerInput.js index 2863b13243..d6c230f135 100644 --- a/src/components/views/rooms/MessageComposerInput.js +++ b/src/components/views/rooms/MessageComposerInput.js @@ -190,11 +190,11 @@ export default class MessageComposerInput extends React.Component { const Pill = sdk.getComponent('elements.Pill'); const {url} = Entity.get(props.entityKey).getData(); if (Pill.isPillUrl(url)) { - return ; + return ; } return ( - + {props.children} );