1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

finish i18n, and add a Date Sep to quote if it needs it

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2017-12-15 18:39:01 +00:00
parent 4043ea7d57
commit 0ad0c0e9f7
3 changed files with 33 additions and 4 deletions

View File

@ -208,7 +208,8 @@ module.exports = React.createClass({
// only allow this branch if we're not already in a quote, as fun as infinite nesting is.
const quoteContainer = document.createElement('span');
const quote = <Quote url={href} shouldShowPillAvatar={shouldShowPillAvatar} />;
const quote =
<Quote url={href} parentEv={this.props.mxEvent} shouldShowPillAvatar={shouldShowPillAvatar} />;
ReactDOM.render(quote, quoteContainer);
node.parentNode.replaceChild(quoteContainer, node);